The LineRemoveCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Determines the behavior of the line removal process.
Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")> <FlagsAttribute()> Public Enum LineRemoveCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As LineRemoveCommandFlags |
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")] [FlagsAttribute()] public enum LineRemoveCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")] [FlagsAttribute()] public enum class LineRemoveCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
GetRegion | When IDocumentProcessingService.BorderRemove 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. |
RemoveEntire | Remove the entire line, even if the line passes through a character or a wall. Consider the line below. Setting MaximumWallPercent as 80 and passing RemoveEntire flag will remove the red pixels as shown below. |
UseDpi | The unit of measure for all properties of the LineRemoveRequest 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 LineRemoveRequest is pixels. |
UseGap | Consider "gaps" in lines when performing line removal. If this flag is set, LineRemoveRequest.GapLength value property is used. If this flag is not passed, the LineRemoveRequest.GapLength value is ignored. |
UseVariance | Consider line variance when performing line removal. If this flag is passed, the variance value LineRemoveRequest.Variance is used. If this flag is not passed, the variance value is ignored. |
You can use a bitwise OR (|) to specify one or more flags.
System.Object
System.ValueType
System.Enum
Leadtools.Services.ImageProcessing.DataContracts.LineRemoveCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7