←Select platform

ForeColor Property

Summary
Gets or sets the foreground color of zone.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public RasterColor ForeColor { get; set; } 
@property (nonatomic, copy, null_resettable) LTRasterColor *foreColor; 
public RasterColor getForeColor() 
public void setForeColor(RasterColor value) 
public: 
property RasterColor ForeColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 
ForeColor # get and set (OcrZone) 

Property Value

The foreground color of the zone. Default value is Black.

Remarks

Only used by the LEADTOOLS OCR Module - LEAD Engine.

The zone colors is used with text zones only and will be used when creating the final document if the format support colors (such as PDF or Microsoft Word).

To automatically detect the color of text zones, set the value of the "Recognition.DetectColors" setting to true and call AutoZone.

Requirements

Target Platforms

Help Version 22.0.2023.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.