This enumeration has a System.FlagsAttribute attribute that allows a bitwise combination of its member values.
Supported in Silverlight, Windows Phone 7| Visual Basic (Declaration) | |
|---|---|
<FlagsAttribute()> Public Enum ApplyTransformationParametersCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ApplyTransformationParametersCommandFlags | |
| C# | |
|---|---|
[FlagsAttribute()] public enum ApplyTransformationParametersCommandFlags : System.Enum, IComparable, IConvertible, IFormattable | |
| C++/CLI | |
|---|---|
[FlagsAttribute()] public enum class ApplyTransformationParametersCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable | |
| Member | Description |
|---|---|
| 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. |
| None | No change. |
| Normal | Resize normally. |
| Resample | Use linear interpolation and averaging to produce a higher-quality image. |
You can use a bitwise OR (|) to specify one flag from each group.
| Group | Flags |
| Flags that indicate the type of resizing | Normal, Resample, Bicubic |
| Flags that indicate the color to preserve when making the image smaller | FavorBlack, FavorWhite |
System.Object
System.ValueType
System.Enum
Leadtools.ImageProcessing.Core.ApplyTransformationParametersCommandFlags
Target Platforms: Silverlight 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7, MAC OS/X (Intel Only)
Copy Code