Leadtools.Forms.DocumentReaders Namespace > DocumentWord Structure : FontIndex Property |
public int FontIndex {get; set;}
'Declaration Public Property FontIndex As Integer
'Usage Dim instance As DocumentWord Dim value As Integer instance.FontIndex = value value = instance.FontIndex
To read the text objects from a document, use the DocumentObjectManager.ParsePageText method. The fonts found in the page will be set in the in DocumentPageText.Fonts property of the returned DocumentPageText object.
Each text word will have its FontIndex property set to an index in this fonts array.
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