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




Enumeration that specifies the behavior when resizing the image.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

Syntax

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

Members

MemberDescription
None No change.
Normal Resize normally.
Resample Use linear interpolation and averaging to produce a higher-quality image.
Bicubic Use bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample.
FavorBlack (Document/Medical only) Preserve black objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a bitwise OR ( | ) to combine this flag with another one. For example, Resample | FavorBlack causes color images to be resampled, but applies the favor-black option to 1-bit, black-and-white images.
FavorWhite (Document/Medical only) Preserve white objects when making the image smaller. This option affects only 1-bit, black-and-white images, where it prevents the disappearance of thin lines. You can use a bitwise OR ( | ) to combine this flag with another one. For example, Resample | FavorWhite causes color images to be resampled, but applies the favor-white option to 1-bit, black-and-white images.

Remarks

You can use a bitwise OR (|) to specify one flag from each group.
GroupFlags
Flags that indicate the type of resizingNormal, Resample, Bicubic
Flags that indicate the color to preserve when making the image smallerFavorBlack, FavorWhite

Inheritance Hierarchy

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

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