Leadtools.Workflow.ImageProcessing Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
LineRemoveCommandFlags Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : LineRemoveCommandFlags Enumeration



Flags that determine the behavior of the line removal process.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum LineRemoveCommandFlags 
   Inherits Enum
Visual Basic (Usage)Copy Code
Dim instance As LineRemoveCommandFlags
C# 
[FlagsAttribute()]
public enum LineRemoveCommandFlags : Enum 
C++/CLI 
[FlagsAttribute()]
public enum class LineRemoveCommandFlags : public Enum 

Members

MemberDescription
None No flags.
UseDpi The unit of measure for all properties of the LineRemoveActivity 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 LineRemoveActivity is pixels.
SingleRegion When LineRemoveActivity returns, either LineRemoveActivity.ImageRegion or LineRemoveActivity.Region will reference a region that contains all of the removed lines. If LeadRegion is also set, LineRemoveActivity.ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all of the removed lines. If LeadRegion is not set, LineRemoveActivity.Region is updated with a Windows region that contains all of the removed lines. When the region (either LEAD or Windows) is no longer needed, it must be disposed of (either the region allocated in the LineRemoveActivity.ImageRegion or the LineRemoveActivity.Region).
LeadRegion When LineRemoveActivity returns, LineRemoveActivity.ImageRegion is updated with a shallow copy of affected image that also contains a region with all of the removed lines. This flag must be used in conjunction with SingleRegion. So set LineRemoveActivity.Flags to SingleRegion | LeadRegion
RemoveEntire Remove the entire line, even if the line passes through a character or a wall.
Consider the line below.



Setting Wall as 80 and passing RemoveEntire will remove the red pixels as shown below.


UseGap Consider "gaps" in lines when performing line removal. If this flag is set, the gap length value (either the LineRemoveActivity.GapLength property) is used. If this flag is not passed, the gap length value is ignored.
UseVariance Consider line variance when performing line removal. If this flag is passed, the variance value (either the LineRemoveActivity.Variance property) 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.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Workflow.ImageProcessing.LineRemoveCommandFlags

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features