LEADTOOLS OCR (Leadtools.Forms.Ocr assembly)

Color Property

Show in webframe







Gets or sets the character color.
Syntax
public RasterColor Color {get; set;}
'Declaration
 
Public Property Color As RasterColor
'Usage
 
Dim instance As OcrCharacter
Dim value As RasterColor
 
instance.Color = value
 
value = instance.Color
public RasterColor Color {get; set;}
@property (nonatomic, copy) LTRasterColor* color;
public RasterColor getColor()
public void setColor(RasterColor value)
            
 
get_Color();
set_Color(value);
Object.defineProperty('Color');
public:
property RasterColor Color {
   RasterColor get();
   void set (    RasterColor value);
}

Property Value

A Leadtools.RasterColor structure containing the character color.
Remarks

To get the recognized characters of a page, call IOcrPage.GetRecognizedCharacters after IOcrPage.Recognize or IOcrPage.RecognizeText.

To update the recognized characters of a page, call IOcrPage.GetRecognizedCharacters before calling IOcrDocument.Save, or IOcrDocument.SaveAsync, IOcrDocument.SaveXml or or IOcrDocument.SaveXmlAsync.

Note: This property is not currently supported in any LEADTOOLS OCR Engine. Setting the character color will not affect the final document.

Example
For an example, refer to IOcrPage.GetRecognizedCharacters.
Requirements

Target Platforms

See Also

Reference

OcrCharacter Structure
OcrCharacter Members
IOcrPage.SetRecognizedCharacters
IOcrPage.GetRecognizedCharacters
IOcrPage.Recognize
IOcrPage.IsRecognized
OcrCharacter Structure
IOcrPageCharacters Interface
IOcrZoneCharacters Interface
IOcrPageCollection Interface
IOcrZoneCollection Interface
OcrZone Structure
Programming with the LEADTOOLS .NET OCR

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.

Color requires an OCR module license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features