←Select platform

DocumentCharacter Structure

Summary

Contains the properties of a text character found in the document.

Syntax

C#
VB
C++
[SerializableAttribute()] 
[DataContractAttribute(Name="DocumentCharacter")] 
public struct DocumentCharacter 
  
<SerializableAttribute()> 
Public Structure DocumentCharacter  
   Inherits System.ValueType 
[SerializableAttribute()] 
public value class DocumentCharacter : public System.ValueType  

Remarks

The DocumentCharacter structure is used as the type for the DocumentPageText.Characters list.

The text of a document page is read by using the DocumentObjectManager.ParsePageText method. The text characters found in the page will be set in the in DocumentPageText.Characters property of the returned DocumentPageText object.

The text words are created from the characters found in the document based on the DocumentCharacter.IsEndOfWord returned by document reader engine. Whenever an "end of word" is found, the last set of characters are grouped together and stored as an item in the DocumentPageText.Words list.

The overall text string (withou any extra properties) can be obtained using the DocumentPageText.BuildText method.

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