Visual Basic (Declaration) | |
---|---|
Public Property RegionThreshold As Integer |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As KaufmannRegionCommand Dim value As Integer instance.RegionThreshold = value value = instance.RegionThreshold |
C# | |
---|---|
public int RegionThreshold {get; set;} |
Property Value
The stopping point for the region.Refer to KaufmannRegionCommand.
The region is created using a magic wand technique. The Magic Wand is a selection tool that works by starting from a point and expanding to different areas of the image. If the difference between the color of the new pixel which is about to be included in the region and the pixel color which is pointed to by RegionStart exceeds the difference between the RegionThreshold and the pixel color which is pointed to by RegionStart, the pixel will not be included. For more information, refer to Leadtools.RasterImage.AddMagicWandToRegion(System.Int32,System.Int32,Leadtools.RasterColor,Leadtools.RasterColor,Leadtools.RasterRegionCombineMode) Method.
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)