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




Flags that determine the behavior of the inverted text removal process.

Syntax

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

Members

MemberDescription
None No flags.
UseDpi The unit of measure for all properties of the InvertedTextCommand 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 InvertedTextCommand is pixels.
SingleRegion For each inverted text segment encountered by InvertedTextCommand, if the Status is set to RemoveStatus.Remove, the removed inverted text is added to an internal single region. If it is set to RemoveStatus.NoRemove, the inverted text is not added to the single region. When InvertedTextCommand returns, either ImageRegion or Region will reference a region that contains all the removed inverted text. If LeadRegion is also set, 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, 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 ImageRegion or Region).
LeadRegion When InvertedTextCommand returns, ImageRegion is updated with a shallow copy of the Run method image that also contains a region with all the removed inverted text. This flag must be used in conjunction with SingleRegion. So set Flags to SingleRegion | LeadRegion.
CallBackRegion The Region property receives a Windows region that contains the current inverted text to be removed. Setting this flag lets the user create his or her own composite of removed inverted text 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 results in a region identical to the region created when SingleRegion is set in Flags. For an example, refer to InvertedTextCommand. When the region received by the Region property is no longer needed, it must be disposed of.
ImageUnchanged The Run method image is unchanged.
UseDiagonals Considers pixels that are diagonal to the inverted text as part of the inverted text.

Remarks

You can use a bitwise OR (|) to specify one or more flags.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.ImageProcessing.Core.InvertedTextCommandFlags

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