LEADTOOLS Forms (Leadtools.Forms.DocumentReaders assembly)
LEAD Technologies, Inc

FontIndex Property (DocumentWord)






Gets or sets the index of the font used by this word.
Syntax
public int FontIndex {get; set;}
'Declaration
 
Public Property FontIndex As Integer
'Usage
 
Dim instance As DocumentWord
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 word. The default value is 0.
Remarks

To read the text objects from a document, use the DocumentObjectManager.ParsePageText method. The fonts found in the page will be set in the in DocumentPageText.Fonts property of the returned DocumentPageText object.

Each text word will have its FontIndex property set to an index in this fonts array.

Example

For an example, refer to DocumentPageText.

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

DocumentWord Structure
DocumentWord Members

 

 


Products | Support | Contact Us | Copyright Notices

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

Leadtools.Forms.DocumentWriters requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features