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.