LEADTOOLS PDF (Leadtools.Pdf assembly)
LEAD Technologies, Inc

FontIndex Property






Gets or sets the 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 FontIndex {get; set;}
 get_FontIndex();
set_FontIndex(value);
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 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: 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

See Also

Reference

PDFTextProperties Structure
PDFTextProperties Members

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.