Leadtools.Forms.DocumentReaders Namespace : DocumentFont Structure |
[SerializableAttribute()] public struct DocumentFont : System.ValueType
'Declaration <SerializableAttribute()> Public Structure DocumentFont Inherits System.ValueType
'Usage Dim instance As DocumentFont
[SerializableAttribute()] public class DocumentFont
JAVASCRIPT_NOSTRUCTS
[SerializableAttribute()] public value class DocumentFont : public System.ValueType
The DocumentFont structure is used as the type for the DocumentPageText.Fonts collection.
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.
The font size is not stored in the DocumentFont structure. Instead, it is stored in the DocumentCharacter.FontSize and DocumentWord.FontSize properties of each item in the the returned DocumentPageText object's DocumentPageText.Characters and DocumentPageText.Words properties.
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