Indicates the styles of the fonts in a document.
Members
Value | Member | Description |
---|---|---|
0x00000000 | Normal | Normal Font |
0x00000001 | Bold | Bold Font |
0x00000002 | Italic | Italic Font |
0x00000004 | Underline | Underline Font |
The DocumentFontStyle is used as the type for the DocumentFont.FontStyle property.
The members of DocumentFontStyle can be OR'ed together.
You can read the fonts of a document page by using the DocumentObjectManager.ParsePageText method. The fonts found in the page will be set in the in DocumentPageText.Fonts property of the returned DocumentPageText object.
For an example, refer to DocumentPageText.
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2