LEADTOOLS Image Processing (Leadtools.ImageProcessing.Core assembly)
LEAD Technologies, Inc

InvertedTextCommandFlags Enumeration






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

.NET support WinRT support Silverlight support
Syntax
[FlagsAttribute()]
public enum InvertedTextCommandFlags : System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
'Declaration
 
<FlagsAttribute()>
Public Enum InvertedTextCommandFlags 
   Inherits System.Enum
   Implements System.IComparableSystem.IConvertibleSystem.IFormattable 
'Usage
 
Dim instance As InvertedTextCommandFlags
[FlagsAttribute()]
public enum InvertedTextCommandFlags : System.IComparableSystem.IConvertibleSystem.IFormattable  
Leadtools.ImageProcessing.Core.InvertedTextCommandFlags = function() { };
Leadtools.ImageProcessing.Core.InvertedTextCommandFlags.prototype = {
LeadtoolsMemberMarker(replace me) };
[FlagsAttribute()]
public enum class InvertedTextCommandFlags : public System.Enum, System.IComparableSystem.IConvertibleSystem.IFormattable  
Members
MemberDescription
CallBackRegionThe InvertedTextCommandEventArgs.Region property receives a LEADTOOLS Leadtools.RasterRegion that contains the current inverted text to be removed. Setting this flag lets users create their own composites of removed inverted text by combining the regions received (if InvertedTextCommandEventArgs.Status is set to RemoveStatus.Remove). The regions can be combined using a logical OR operator. Combining all regions received when the InvertedTextCommandEventArgs.Status is set to RemoveStatus.Remove results in a region identical to the region created when SingleRegion is set in InvertedTextCommand.Flags. For an example, refer to InvertedTextCommand. When the region received by the InvertedTextCommandEventArgs.Region property is no longer needed, dispose of it.
ImageUnchangedThe Run method image is unchanged.
LeadRegionWhen InvertedTextCommand returns, InvertedTextCommand.ImageRegion is updated with a shallow copy of the Run method image that also contains a region with all the inverted text that has been removed. This flag must be used in conjunction with SingleRegion. So set InvertedTextCommand.Flags to SingleRegion | LeadRegion.
NoneNo flags.
SingleRegionFor each inverted text segment encountered by InvertedTextCommand, if the InvertedTextCommandEventArgs.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 InvertedTextCommand.ImageRegion or InvertedTextCommand.Region will reference a region that contains all the removed inverted text. If LeadRegion is also set, InvertedTextCommand.ImageRegion will be updated with a shallow copy of the image that has a LEAD region that contains all of the inverted text. If LeadRegion is not set, InvertedTextCommand.Region is updated with a LEADTOOLS Leadtools.RasterRegion that contains all of the inverted text. When the region (either LEAD or Windows) is no longer needed, it must be disposed of (either region allocated in InvertedTextCommand.ImageRegion or InvertedTextCommand.Region).
UseDiagonalsConsiders pixels that are diagonal to the inverted text as part of the inverted text.
UseDpiThe 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.
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: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Leadtools.ImageProcessing.Core Namespace

 

 


Products | Support | Contact Us | Copyright Notices

© 2006-2012 All Rights Reserved. LEAD Technologies, Inc.