Leadtools.Workflow.ImageProcessing Namespace : BorderRemoveCommandFlags Enumeration |
Enumerated values that determine the behavior of the border removal process.
[FlagsAttribute()] public enum BorderRemoveCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum BorderRemoveCommandFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As BorderRemoveCommandFlags
[FlagsAttribute()] public enum class BorderRemoveCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | No flags. |
0x00000002 | SingleRegion | When 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). |
0x00000004 | LeadRegion | When 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. |
0x00000800 | UseVariance | Consider 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. |
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.BorderRemoveCommandFlags