The version that you requested is unavailable. We've redirected you to the latest version of the help.
Version

Font Class Members

The following tables list the members exposed by Font.

Public Fields
 NameDescription
Public FieldSizeMaxValueTwipsThe maximum allowable value for the Size property, expressed in twips (32760)  
Public Properties
 NameDescription
Public PropertyBackColorReturns or sets the background color that is applied to the area behind the text.  
Public PropertyBoldReturns or sets a boolean value indicating whether the font is bolded.  
Public PropertyCharacterSpacingReturns a FontCharacterSpacing instance which provides a way to customize spacing and kerning for a Font  
Public PropertyEffectsReturns a FontEffects instance which provides extended formatting functionality for the font.  
Public PropertyForeColorReturns or sets the color of the text.  
Public PropertyHasCharacterSpacingReturns a boolean value indicating whether the FontCharacterSpacing instance returned from the CharacterSpacing property has been created.  
Public PropertyHasEffectsReturns a boolean value indicating whether the FontEffects instance returned from the Effects property has been created.  
Public PropertyItalicReturns or sets a boolean value indicating whether the font is italicized.  
Public PropertyNameReturns or sets the name of the font.  
Public PropertyNameComplexScriptReturns or sets the font which is used to format all characters in a complex script Unicode range within the associated run.  
Public PropertyNameEastAsiaReturns or sets the font which is used to format all characters in an East Asian Unicode range within the associated run.  
Public PropertyNameHighAnsiReturns or sets the font which is used to format all characters in a Unicode range within the associated run which does not fall into any of the categories defined by the Name, NameComplexScript, or NameEastAsia properties.  
Public PropertyRightToLeftReturns or sets a value which determines the reading order for the associated run of text.  
Public PropertySizeReturns or sets the size at which the font is displayed.  
Public PropertyUnderlineReturns or sets a value indicating the manner in which the font is underlined.  
Public PropertyUnderlineColorReturns or sets the color of the line drawn under the text.  
Public PropertyUseComplexScriptReturns or sets a value which determines whether the contents of this run shall be treated as complex script text regardless of the Unicode character values contained therein when determining the formatting for this run.  
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)CreateReturns a new instance which is associated with the specified WordDocumentWriter.  
Public MethodResetRestores all property values to their respective defaults.  
Public MethodToStringReturns the string representation of this instance.  
See Also