Leadtools.Forms.DocumentReaders Namespace > DocumentCharacter Structure : FontIndex Property |
public int FontIndex {get; set;}
'Declaration Public Property FontIndex As Integer
'Usage Dim instance As DocumentCharacter Dim value As Integer instance.FontIndex = value value = instance.FontIndex
public int FontIndex {get; set;}
get_FontIndex();
set_FontIndex(value);
To read the text objects from a document, you 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 character 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