Error processing SSI file
LEADTOOLS PDF (Leadtools.Pdf assembly)

Show in webframe

FontIndex Property






Index of a font used by this text item in the font array.
Syntax
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)
            
public:
property int FontIndex {
   int get();
   void set (    int value);
}

Property Value

The 0-based index of font used by this text item into the font array. The default value is 0.
Remarks

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.

Example
For an example, refer to PDFObject.
Requirements

Target Platforms

See Also

Reference

PDFTextProperties Structure
PDFTextProperties Members

Error processing SSI file
   Leadtools.Pdf requires a PDF Pro, Pro Suite, Document, or Medical license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features