←Select platform

FormDropoutColor Constructor(int,int,int,int,int,int)

Summary

Initializes a new instance of FormDropoutColor with the specified RGB thresholds.

Syntax

C#
C++/CLI
Java
Python
public FormDropoutColor( 
   int lowRed, 
   int lowGreen, 
   int lowBlue, 
   int highRed, 
   int highGreen, 
   int highBlue 
) 

Parameters

lowRed

The minimum red value.

lowGreen

The minimum green value.

lowBlue

The minimum blue value.

highRed

The maximum red value.

highGreen

The maximum green value.

highBlue

The maximum blue value.

public FormDropoutColor( 
   int lowRed, 
   int lowGreen, 
   int lowBlue, 
   int highRed, 
   int highGreen, 
   int highBlue 
); 
public:  
   FormDropoutColor( Int32 lowRed, Int32 lowGreen, Int32 lowBlue, Int32 highRed, Int32 highGreen, Int32 highBlue) 
__init__(self,lowRed,lowGreen,lowBlue,highRed,highGreen,highBlue) # Overloaded constructor 

Remarks

This constructor initializes a FormDropoutColor class object with integer RGB thresholds used to apply color dropout in the Form.

Calling FormProcessingEngine.Process(LEADDocument,IList<PageAlignment>) will apply the color dropout on the form.

Example

C#
using Leadtools; 
using Leadtools.Barcode; 
using Leadtools.Codecs; 
using Leadtools.Forms.Common; 
using Leadtools.Ocr; 
using Leadtools.Forms.Processing; 
using Leadtools.Forms.Recognition; 
using Leadtools.Forms.Recognition.Barcode; 
using Leadtools.Forms.Recognition.Ocr; 
using Leadtools.Document; 
 
///This method processes the recognized form. 
private void ProcessForm(FormProcessingEngine processingEngine, MyForm form) 
{ 
   form.ProcessingPages = form.Master.ProcessingPages; 
   processingEngine.Pages.Clear(); 
   processingEngine.Pages.AddRange(form.ProcessingPages); 
   processingEngine.Process(form.Image, form.Alignment); 
} 

Requirements

Target Platforms

See Also

FormDropoutColor Class

FormDropoutColor Members

Leadtools.Forms.Processing Namespace

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

Leadtools.Forms.Processing Assembly

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