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

DocumentFont Structure






Members 
Show in webframe
Contains the information for a document font.
Object Model
DocumentFont Structure
Syntax
[SerializableAttribute()]
public struct DocumentFont : System.ValueType 
'Declaration
 
<SerializableAttribute()>
Public Structure DocumentFont 
   Inherits System.ValueType
'Usage
 
Dim instance As DocumentFont

            

            
[SerializableAttribute()]
public value class DocumentFont : public System.ValueType 
Remarks

The DocumentFont structure is used as the type for the DocumentPageText.Fonts collection.

You can read the fonts of a document page by using the DocumentObjectManager.ParsePageText method. The fonts found in the page will be set in the in DocumentPageText.Fonts property of the returned DocumentPageText object.

The font size is not stored in the DocumentFont structure. Instead, it is stored in the DocumentCharacter.FontSize and DocumentWord.FontSize properties of each item in the the returned DocumentPageText object's DocumentPageText.Characters and DocumentPageText.Words properties.

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

DocumentFont Members
Leadtools.Forms.DocumentReaders Namespace

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