Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
AutoColorLevelCommand Constructor(Int32,Int32,AutoColorLevelCommandType,AutoColorLevelCommandFlags)
See Also 
Leadtools.ImageProcessing Namespace > AutoColorLevelCommand Class > AutoColorLevelCommand Constructor : AutoColorLevelCommand Constructor(Int32,Int32,AutoColorLevelCommandType,AutoColorLevelCommandFlags)



whiteClip
Value that represents the percentage of white pixels to clip from the image, in hundredths of a percent. Valid values range from 0 to 10000 (which represents 1005 of the white pixels.
blackClip
Value that represents the percentage of black pixels to clip from the image, in hundredths of a percent. Valid values range from 0 to 10000 (which represents 1009 . The default is 50, which indicates to clip 0.5% of the black pixels.
type
Value that indicates the type of leveling to perform.
flag
Flag that indicates whether a method will process the image or not.
Initializes a new AutoColorLevelCommand object with explicit parameters.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal whiteClip As Integer, _
   ByVal blackClip As Integer, _
   ByVal type As AutoColorLevelCommandType, _
   ByVal flag As AutoColorLevelCommandFlags _
)
Visual Basic (Usage)Copy Code
Dim whiteClip As Integer
Dim blackClip As Integer
Dim type As AutoColorLevelCommandType
Dim flag As AutoColorLevelCommandFlags
 
Dim instance As AutoColorLevelCommand(whiteClip, blackClip, type, flag)
C# 
public AutoColorLevelCommand( 
   int whiteClip,
   int blackClip,
   AutoColorLevelCommandType type,
   AutoColorLevelCommandFlags flag
)
C++/CLI 
public:
AutoColorLevelCommand( 
   int whiteClip,
   int blackClip,
   AutoColorLevelCommandType type,
   AutoColorLevelCommandFlags flag
)

Parameters

whiteClip
Value that represents the percentage of white pixels to clip from the image, in hundredths of a percent. Valid values range from 0 to 10000 (which represents 1005 of the white pixels.
blackClip
Value that represents the percentage of black pixels to clip from the image, in hundredths of a percent. Valid values range from 0 to 10000 (which represents 1009 . The default is 50, which indicates to clip 0.5% of the black pixels.
type
Value that indicates the type of leveling to perform.
flag
Flag that indicates whether a method will process the image or not.

Example

For an example, refer to AutoColorLevelCommand

Requirements

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

See Also