Flags that determine the behavior of the inverted text removal process.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum InvertedTextCommandFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum InvertedTextCommandFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class InvertedTextCommandFlags : public Enum |
Member | Description |
---|---|
None | No flags. |
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. |
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). |
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. |
UseDiagonals | Considers pixels that are diagonal to the inverted text as part of the inverted text. |
You can use a bitwise OR (|) to specify one or more flags.
System.Object
System.ValueType
System.Enum
Leadtools.Workflow.ImageProcessing.InvertedTextCommandFlags
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