Version

Search Results

Font Class Methods

Public Methods

Font Class Properties

Public Properties

BackColor Property (Font)

Returns or sets the background color that is applied to the area behind the text. Syntax Remarks The default color value can be reinstated by setting this property to Color.Empty. By default, no color is applied to the area behind the text. Use this property to fill the rectangle which encloses the text area with ...

Bold Property

Returns or sets a boolean value indicating whether the font is bolded. Syntax Remarks When not explicitly set, the actual value of the property is determined at a higher level of the property resolution hierarchy. This property can be restored to its default value by setting it to null.

CharacterSpacing Property

Returns a FontCharacterSpacing instance which provides a way to customize spacing and kerning for a Font Syntax Remarks To reduce the memory footprint, creation of the FontCharacterSpacing object returned from this property is deferred until it is requested publicly by a consumer. To avoid triggering creation, use...

Create Method (Font)

Returns a new instance which is associated with the specified WordDocumentWriter. Syntax Parameters writer The associated WordDocumentWriter instance. Return Value A new Font instance.

Effects Property

Returns a FontEffects instance which provides extended formatting functionality for the font. Syntax Remarks To reduce the memory footprint, creation of the FontEffects object returned from this property is deferred until it is requested publicly by a consumer. To avoid triggering creation, use the HasEffects prop...

ForeColor Property

Returns or sets the color of the text. Syntax Remarks The default color value can be reinstated by setting this property to Color.Empty.

HasCharacterSpacing Property

Returns a boolean value indicating whether the FontCharacterSpacing instance returned from the CharacterSpacing property has been created. Syntax

HasEffects Property

Returns a boolean value indicating whether the FontEffects instance returned from the Effects property has been created. Syntax