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

DocumentFont Structure






Members 
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 class DocumentFont
JAVASCRIPT_NOSTRUCTS
[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

 

 


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