Leadtools.Workflow.ImageProcessing Namespace : InvertedTextCommandFlags Enumeration |
Flags that determine the behavior of the inverted text removal process.
[FlagsAttribute()] public enum InvertedTextCommandFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum InvertedTextCommandFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As InvertedTextCommandFlags
[FlagsAttribute()] public enum class InvertedTextCommandFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | None | No flags. |
0x00000001 | UseDpi | The unit of measure for all properties of the InvertedTextActivity 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 InvertedTextActivity is pixels. |
0x00000002 | SingleRegion | When InvertedTextActivity returns, either InvertedTextActivity.ImageRegion or InvertedTextActivity.Region will reference a region that contains all of the removed inverted text. If LeadRegion is also set, InvertedTextActivity.ImageRegion will be updated with a shallow copy of the image that has a LEAD region that contains all the inverted text. If LeadRegion is not set, InvertedTextActivity.Region is updated with a Windows region that contains all the inverted text. When the region (either LEAD or Windows) is no longer needed, it must be disposed (either region allocated in InvertedTextActivity.ImageRegion or InvertedTextActivity.Region). |
0x00000004 | LeadRegion | When InvertedTextActivity returns, InvertedTextActivity.ImageRegion is updated with a shallow copy of the Run method image that also contains a region with all of the removed inverted text. This flag must be used in conjunction with SingleRegion. So set InvertedTextActivity.Flags to SingleRegion | LeadRegion. |
0x00001000 | UseDiagonals | Considers pixels that are diagonal to the inverted text as part of the inverted text. |
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.InvertedTextCommandFlags