←Select platform

LineRemoveCommandFlags Enumeration

Summary

Determines the behavior of the line removal process.

Syntax

C#
VB
C++
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")] 
[FlagsAttribute()] 
public enum LineRemoveCommandFlags 
  
<FlagsAttribute()> 
<DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")> 
Public Enum LineRemoveCommandFlags  
   Inherits System.Enum 
   Implements System.IComparable, System.IConvertible, System.IFormattable  
[FlagsAttribute()] 
[DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="LineRemoveCommandFlags")] 
public enum class LineRemoveCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable   

Members

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



0x00000400UseGapConsider "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.
0x00000800UseVarianceConsider 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.
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