Leadtools.Workflow.ImageProcessing Requires Document/Medical product license | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
SmoothCommandFlags Enumeration
See Also  
Leadtools.Workflow.ImageProcessing Namespace : SmoothCommandFlags Enumeration



Enumerated values that determine the behavior of the smoothing process.

Syntax

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

Members

MemberDescription
None No flags.
SingleRegion When SmoothActivity returns, either SmoothActivity.ImageRegion or SmoothActivity.Region will reference a region that contains all of the removed bumps or nicks. If LeadRegion is also set, SmoothActivity.ImageRegion will be updated with a shallow copy of the image that has a LEAD region that contains all of the removed bumps or nicks. If LeadRegion is not set, SmoothActivity.Region is updated with a Windows region that contains all of the removed bumps or nicks. When the region (either LEAD or Windows) is no longer needed, it must be disposed of (either the region allocated in SmoothActivity.ImageRegion or SmoothActivity.Region).
LeadRegion When SmoothActivity returns, SmoothActivity.ImageRegion is updated with a shallow copy of the affected image that also contains a region with all of the removed bumps or nicks. This flag must be used in conjunction with SingleRegion.
FavorLong Processes long bumps or nicks before short bumps or nicks. If this flag is not passed, short is favored over long. For example:
Smooth the following image with SmoothActivity.Length == 3
              X   X
            XXXXXXXXXX
            
Favoring short would remove the two "bumps" giving:
            XXXXXXXXXX
            
Favoring long would fill in the "gap" giving:
              XXXXX
            XXXXXXXXXX
            

Remarks

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

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.Workflow.ImageProcessing.SmoothCommandFlags

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

Leadtools.Workflow.ImageProcessing requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features