The HolePunchRemoveCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Determines the behavior of the hole punch removal process.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> <DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")> Public Enum HolePunchRemoveCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As HolePunchRemoveCommandFlags |
C# | |
---|---|
[FlagsAttribute()] [DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")] public enum HolePunchRemoveCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] [DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")] public enum class HolePunchRemoveCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
GetRegion | When IDocumentProcessingService.HolePunchRemove returns the GetRegion value, the DocumentResponse.Region property will be updated with a Windows region that contains all the removed bumps or nicks. A region that contains all the removed bumps or nicks. |
ImageUnchanged | The affected image (Run method image) is unchanged. |
None | No flags. |
UseCount | Use the HolePunchRemoveRequest.MinimumHoleCount and HolePunchRemoveRequest.MaximumHoleCount" properties of the HolePunchRemoveRequest to indicate the number of hole punches to remove. If this flag is not set, default values for the two count values will be used. These default values are as follows: HolePunchRemoveRequest.MinimumHoleCount" = 3 HolePunchRemoveRequest.MaximumHoleCount" = 3. |
UseDpi | The unit of measure for all properties of the HolePunchRemoveRequest 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 HolePunchRemoveRequest is pixels. |
UseLocation | Use the HolePunchRemoveRequest.Location property of the HolePunchRemoveRequest to indicate the location of the hole punches to remove. If this flag is not set, a default of HolePunchRemoveCommandLocation.Left will be used. |
UseSize | Use the HolePunchRemoveRequest.MinimumHoleWidth, HolePunchRemoveRequest.MinimumHoleHeight, HolePunchRemoveRequest.MaximumHoleWidth, HolePunchRemoveRequest.MaximumHoleHeight properties of the HolePunchRemoveRequest 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. |
You can use a bitwise OR (|) to specify one or more flags.
System.Object
System.ValueType
System.Enum
Leadtools.Services.ImageProcessing.DataContracts.HolePunchRemoveCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7