LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
DotRemoveCommandFlags Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : DotRemoveCommandFlags Enumeration



The DotRemoveCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Flags that determine the behavior of the dot removal process.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum DotRemoveCommandFlags 
   Inherits System.Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As DotRemoveCommandFlags
C# 
[FlagsAttribute()]
public enum DotRemoveCommandFlags : System.Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class DotRemoveCommandFlags : public System.Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
LeadRegionWhen DotRemoveActivity returns, the DotRemoveActivity.ImageRegion is updated with a shallow copy of the image that also contains a region with all of the removed dots. This flag must be used in conjunction with SingleRegion.
NoneNo flags.
SingleRegionWhen DotRemoveActivity returns, either DotRemoveActivity.ImageRegion or DotRemoveActivity.Region will reference a region that contains all of the removed dots. If LeadRegion is also set, DotRemoveActivity.ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all of the removed dots. If LeadRegion is not set, DotRemoveActivity.Region is updated with a Windows region that contains all of the removed dots. When the region (either LEAD or Windows) is no longer needed, it must be disposed of(either the region allocated in DotRemoveActivity.ImageRegion or the DotRemoveActivity.Region).
UseDiagonalsConsiders pixels that are diagonal as part of the dot. Consider the "speck" below consisting of nine pixels.


If this flag is used, this speck is considered as a single dot that is 5x5 pixels. If this flag is not used, the speck is considered three dots (2x2, 1x1, 2x2).
UseDpiThe unit of measure for all properties of the DotRemoveActivity is thousandths of an inch. Use the image's DPI to convert to pixels. This allows the processing of many images with different DPI. If this flag is not set, the unit of measure for all properties of the DotRemoveActivity is pixels.
UseSize

Use the DotRemoveActivity.MinimumDotWidth, DotRemoveActivity.MinimumDotHeight, DotRemoveActivity.MaximumDotWidth, DotRemoveActivity.MaximumDotHeight properties of the DotRemoveActivity to indicate the size of the dots to remove. If this flag is not set, default values for the four sizes will be used. These defaults are as follows:

Remarks

You can use a bitwise OR (|) to specify one or more flags.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Workflow.ImageProcessing.DotRemoveCommandFlags

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features