Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.3.23
|
Leadtools.Pdf Assembly > 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
public int getFontIndex() public void setFontIndex(int index)
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, PDFDocumentPage.Annotations, PDFDocumentPage.FormFields, PDFDocumentPage.Signatures 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.