Leadtools.ImageProcessing.Core Send comments on this topic. | Back to Introduction - All Topics | Help Version 15.12.10
BorderRemoveCommandFlags Enumeration
See Also  
Leadtools.ImageProcessing.Core Namespace : BorderRemoveCommandFlags Enumeration




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

Syntax

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

Members

MemberDescription
None No flags.
LeadRegion When the BorderRemoveCommand returns, ImageRegion is updated with a shallow copy of the affected image that also contains a region with all the removed borders. This flag must be used in conjunction with SingleRegion. So set Flags to SingleRegion | LeadRegion.
CallBackRegionRegion property is updated with a Windows region that contains the current border to be removed. Setting this flag lets the user create his or her own composite of removed borders by combining the regions received, if Status is set to RemoveStatus.Remove. The regions can be combined using a logical OR operator. Combining all regions received when the Status is set to RemoveStatus.Remove status results in a region identical to the region created when SingleRegion is set in Flags. For an example, refer to BorderRemoveCommand. When the region received by the Region peroperty is no longer needed, it must be disposed.
SingleRegion For each border encountered by BorderRemoveCommand, if the Status is set to RemoveStatus.Remove status, the removed border is added to an internal single region. If it is set to RemoveStatus.NoRemove status , the border is not added to the single region. When BorderRemoveCommand returns, either ImageRegion or Region will reference a region that contains all the removed borders. If LeadRegion is also set, ImageRegion will be updated with a shallow copy of image that has a LEAD region that contains all the removed borders. If LeadRegion is not set, Region is updated with a Windows region that contains all the removed borders. When the region (either LEAD or Windows) is no longer needed, it must be disposed (either region allocated in ImageRegion or Region).
ImageUnchanged The affected image is unchanged.
UseVariance Consider border variance when performing border removal. If this flag is passed, the Variance property is used. If this flag is not passed, the 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.ImageProcessing.Core.BorderRemoveCommandFlags

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