OfficeIMO

API Reference

Enum

WordCharacterStyles

Namespace OfficeIMO.Word
Assembly OfficeIMO.Word
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Predefined character styles available in Word documents.

Inheritance

  • Enum
  • WordCharacterStyles

Values

public const WordCharacterStyles DefaultParagraphFont #

Default character formatting used for paragraphs.

Value: 0
public const WordCharacterStyles Heading1Char #

Character style associated with Heading 1 paragraphs.

Value: 1
public const WordCharacterStyles Heading2Char #

Character style associated with Heading 2 paragraphs.

Value: 2
public const WordCharacterStyles Heading3Char #

Character style associated with Heading 3 paragraphs.

Value: 3
public const WordCharacterStyles Heading4Char #

Character style associated with Heading 4 paragraphs.

Value: 4
public const WordCharacterStyles Heading5Char #

Character style associated with Heading 5 paragraphs.

Value: 5
public const WordCharacterStyles Heading6Char #

Character style associated with Heading 6 paragraphs.

Value: 6
public const WordCharacterStyles Heading7Char #

Character style associated with Heading 7 paragraphs.

Value: 7
public const WordCharacterStyles Heading8Char #

Character style associated with Heading 8 paragraphs.

Value: 8
public const WordCharacterStyles Heading9Char #

Character style associated with Heading 9 paragraphs.

Value: 9

Extension Methods

public static String ToStringStyle(WordCharacterStyles style) #
Returns: String

Converts the style enumeration to its XML string representation.

Parameters

style OfficeIMO.Word.WordCharacterStyles requiredposition: 0
Style to convert.

Returns

String identifier used in the document.