The InvertedTextCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Flags that determine the behavior of the inverted text removal process.
Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum InvertedTextCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As InvertedTextCommandFlags |
C# | |
---|---|
[FlagsAttribute()] public enum InvertedTextCommandFlags : System.Enum, IComparable, IConvertible, IFormattable |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class InvertedTextCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable |
Member | Description |
---|---|
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. |
None | No flags. |
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). |
UseDiagonals | Considers pixels that are diagonal to the inverted text as part of the inverted text. |
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. |
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 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7