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



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

Values that determine the behavior of the hole punch removal process.

Syntax

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

Members

MemberDescription
LeadRegionWhen HolePunchRemoveActivity returns, HolePunchRemoveActivity.ImageRegion is updated with a shallow copy of the Run method image that also contains a region with all of the removed hole punches. This flag must be used in conjunction with SingleRegion. So set HolePunchRemoveActivity.Flags to SingleRegion | LeadRegion
NoneNo flags.
SingleRegionWhen HolePunchRemoveActivity returns, either HolePunchRemoveActivity.ImageRegion or HolePunchRemoveActivity.Region will reference a region that contains all of the removed hole punches. If LeadRegion is also set, HolePunchRemoveActivity.ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all of the removed hole punches. If LeadRegion is not set, HolePunchRemoveActivity.Region is updated with a Windows region that contains all of the removed hole punches. When the region (either LEAD or Windows) is no longer needed, it must be disposed (either region allocated in HolePunchRemoveActivity.ImageRegion or HolePunchRemoveActivity.Region).
UseCountUse the HolePunchRemoveActivity.MinimumHoleCount and HolePunchRemoveActivity.MaximumHoleCount properties of the HolePunchRemoveActivity to indicate the number of hole punches to remove. If this flag is not set, the default values for the two count values will be used. These default values are as follows: HolePunchRemoveActivity.MinimumHoleCount = 3 and HolePunchRemoveActivity.MaximumHoleCount = 3.
UseDpiThe unit of measure for all properties of the HolePunchRemoveActivity 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 HolePunchRemoveActivity is pixels.
UseLocationUse the HolePunchRemoveActivity.Location property of the HolePunchRemoveActivity to indicate the location of the hole punches to remove. If this flag is not set, a default of HolePunchRemoveCommandLocation.Left will be used.
UseSizeUse the HolePunchRemoveActivity.MinimumHoleWidth, HolePunchRemoveActivity.MinimumHoleHeight, HolePunchRemoveActivity.MaximumHoleWidth, HolePunchRemoveActivity.MaximumHoleHeight properties of the HolePunchRemoveActivity to indicate the size of the hole punches to remove If this flag is not set, default values for the four sizes will be used. If HolePunchRemoveCommandFlags.UseDpi is set, the defaults are calculated from the image DPI. Otherwise, the defaults are calculated from the image width and height.

Remarks

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

Inheritance Hierarchy

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

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