←Select platform

FontIndex Property

Summary

Gets or sets the index of the font used by this word.

Syntax

C#
VB
C++
[DataMemberAttribute(Name="fontIndex", Order=3)] 
public int FontIndex { get; set; } 
  
Public Property FontIndex As Integer 
public: 
property int FontIndex { 
   int get(); 
   void set (    int ); 
} 

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

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Forms.DocumentReaders Assembly