The Font class is used to specify formatting that should be applied to a character run. It also represents the fonts of named styles in the document. |
public sealed class Font |
Public NotInheritable Class Font |
There are two ways to obtain an instance of this class. The Document.CreateFont() method creates a new The following example demonstrates both ways of getting a font, first by retrieving the Normal style's font from the document, second by retrieving a copy of the Heading1 style's font. |
|
Name |
Description |
---|---|
Name |
Description |
---|---|