Leadtools.Pdf Namespace > PDFTextProperties Structure : FontIndex Property |
public int FontIndex {get; set;}
'Declaration Public Property FontIndex As Integer
'Usage Dim instance As PDFTextProperties Dim value As Integer instance.FontIndex = value value = instance.FontIndex
To read objects (including text items) from a PDF file, you use the PDFDocument.ParsePages method. After this method returns and depending on the value of PDFParsePagesOptions parameter passed to the method, the PDFDocumentPage'sPDFDocumentPage.Fonts, PDFDocumentPage.Objects and PDFDocumentPage.Hyperlinks collections will be populated with the items of the PDF page. The FontIndex property will contain the index in the PDFDocumentPage.Fonts collection that corresponds to the font of this item.