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 FontIndex {get; set;}
get_FontIndex();
set_FontIndex(value);
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.
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