C#
VB
C++
Determines the behavior of the hole punch removal process.
[FlagsAttribute()]
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")]
public enum HolePunchRemoveCommandFlags
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")>
<FlagsAttribute()>
Public Enum HolePunchRemoveCommandFlags
Inherits System.Enum
Implements System.IComparable, System.IConvertible, System.IFormattable
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="HolePunchRemoveCommandFlags")]
[FlagsAttribute()]
public enum class HolePunchRemoveCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Members
Value | Member | Description |
---|---|---|
0x00000000 | None | No flags. |
0x00000001 | 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. |
0x00000002 | 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. |
0x00000010 | ImageUnchanged | The affected image (Run method image) is unchanged. |
0x00000020 | 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. |
0x00000040 | 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. |
0x00000080 | 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. |
You can use a bitwise OR ( ¦ ) to specify one or more flags.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET