Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
Threshold Property
See Also 
Leadtools.ImageProcessing Namespace > AutoTrimCommand Class : Threshold Property



Gets or sets a delta value for detecting blank space.

Syntax

Visual Basic (Declaration) 
Public Property Threshold As Integer
Visual Basic (Usage)Copy Code
Dim instance As AutoTrimCommand
Dim value As Integer
 
instance.Threshold = value
 
value = instance.Threshold
C# 
public int Threshold {get; set;}
C++/CLI 
public:
property int Threshold {
   int get();
   void set (int value);
}

Return Value

A value between 0 and 255.

Example

For an example, refer to AutoTrimCommand.

Remarks

Starting at each edge of the bitmap and evaluating toward the center, any change in intensity that is less than or equal to uThreshold is considered blank space.

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also