LEADTOOLS Workflow Image Processing (Leadtools.Workflow.ImageProcessing assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.30
BorderRemoveCommandFlags Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : BorderRemoveCommandFlags Enumeration



The BorderRemoveCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.

Enumerated values that determine the behavior of the border removal process.

Syntax

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

Members

MemberDescription
LeadRegionWhen the BorderRemoveActivity returns, BorderRemoveActivity.ImageRegion is updated with a shallow copy of the affected image that also contains a region with all of the removed borders. This flag must be used in conjunction with SingleRegion. So set BorderRemoveActivity.Flags to SingleRegion | LeadRegion.
NoneNo flags.
SingleRegionWhen BorderRemoveActivity returns, either BorderRemoveActivity.ImageRegion or BorderRemoveActivity.Region will reference a region that contains all of the removed borders. If LeadRegion is also set, BorderRemoveActivity.ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all of the removed borders. If LeadRegion is not set, BorderRemoveActivity.Region is updated with a Windows region that contains all of the removed borders. When the region (either LEAD or Windows) is no longer needed, it must be disposed (either region allocated in BorderRemoveActivity.ImageRegion or BorderRemoveActivity.Region).
UseVarianceConsider border variance when performing border removal. If this flag is passed, the BorderRemoveActivity.Variance property is used. If this flag is not passed, the BorderRemoveActivity.Variance property 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.BorderRemoveCommandFlags

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

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