←Select platform

HolePunchRemoveCommandFlags Enumeration

Summary

Determines the behavior of the hole punch removal process.

Syntax

C#
VB
C++
[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

ValueMemberDescription
0x00000000NoneNo flags.
0x00000001UseDpiThe 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.
0x00000002GetRegionWhen 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.
0x00000010ImageUnchangedThe affected image (Run method image) is unchanged.
0x00000020UseSizeUse 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.
0x00000040UseCountUse 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.
0x00000080UseLocationUse 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.
Remarks

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

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Services.ImageProcessing.DataContracts Assembly