←Select platform

ForeColor Property

Summary

Gets or sets the foreground color of zone.

Syntax
C#
VB
Objective-C
C++
Java
public RasterColor ForeColor { get; set; } 
Public Property ForeColor As RasterColor 
@property (nonatomic, copy, null_resettable) LTRasterColor *foreColor 
public RasterColor getForeColor() 
public void setForeColor(RasterColor value) 
public: 
property RasterColor ForeColor { 
   RasterColor get(); 
   void set (    RasterColor ); 
} 

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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Ocr Assembly