←Select platform

DocumentFont Structure

Summary

Contains the information for a document font.

Syntax

C#
VB
C++
[SerializableAttribute()] 
[DataContractAttribute(Name="DocumentFont")] 
public struct DocumentFont 
  
<SerializableAttribute()> 
Public Structure DocumentFont  
   Inherits System.ValueType 
[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 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

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