API Reference
WordCharacterStyles
Predefined character styles available in Word documents.
Inheritance
- Enum
- WordCharacterStyles
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by
- Method WordCharacterStyle.GetStyle
- Field WordCharacterStyles.DefaultParagraphFont
- Field WordCharacterStyles.Heading1Char
- Field WordCharacterStyles.Heading2Char
- Field WordCharacterStyles.Heading3Char
- Field WordCharacterStyles.Heading4Char
- Field WordCharacterStyles.Heading5Char
- Field WordCharacterStyles.Heading6Char
- Field WordCharacterStyles.Heading7Char
- Field WordCharacterStyles.Heading8Char
- Field WordCharacterStyles.Heading9Char
- Property WordParagraph.CharacterStyle
Accepted by parameters
- Method WordCharacterStyle.GetStyleDefinition
- Method WordCharacterStyle.ToStringStyle
- Extension method WordCharacterStyles.ToStringStyle
- Method WordParagraph.SetCharacterStyle
Inherited Methods
public override sealed Int32 CompareTo(Object target) #Int32Parameters
- target Object
public override sealed String ToString(String format, IFormatProvider provider) #StringObsolete("The provider argument is not used. Use ToString(String) instead.")Parameters
- format String
Values
public const WordCharacterStyles DefaultParagraphFont #Default character formatting used for paragraphs.
0public const WordCharacterStyles Heading1Char #Character style associated with Heading 1 paragraphs.
1public const WordCharacterStyles Heading2Char #Character style associated with Heading 2 paragraphs.
2public const WordCharacterStyles Heading3Char #Character style associated with Heading 3 paragraphs.
3public const WordCharacterStyles Heading4Char #Character style associated with Heading 4 paragraphs.
4public const WordCharacterStyles Heading5Char #Character style associated with Heading 5 paragraphs.
5public const WordCharacterStyles Heading6Char #Character style associated with Heading 6 paragraphs.
6public const WordCharacterStyles Heading7Char #Character style associated with Heading 7 paragraphs.
7public const WordCharacterStyles Heading8Char #Character style associated with Heading 8 paragraphs.
8public const WordCharacterStyles Heading9Char #Character style associated with Heading 9 paragraphs.
9Extension Methods
public static String ToStringStyle(WordCharacterStyles style) #StringConverts the style enumeration to its XML string representation.
Parameters
- style OfficeIMO.Word.WordCharacterStyles
- Style to convert.
Returns
String identifier used in the document.