The ResizeCommandFlags Enumeration is available in LEADTOOLS Document and Medical Imaging toolkits.
Controls the behavior of image resize methods.| Visual Basic (Declaration) | |
|---|---|
<FlagsAttribute()> <DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeCommandFlags")> Public Enum ResizeCommandFlags Inherits System.Enum Implements IComparable, IConvertible, IFormattable | |
| Visual Basic (Usage) | Copy Code |
|---|---|
Dim instance As ResizeCommandFlags | |
| C# | |
|---|---|
[FlagsAttribute()] [DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeCommandFlags")] public enum ResizeCommandFlags : System.Enum, IComparable, IConvertible, IFormattable | |
| C++/CLI | |
|---|---|
[FlagsAttribute()] [DataContractAttribute(Namespace="http://Leadtools.Services.ImageProcessing.DataContracts/2009/01", Name="ResizeCommandFlags")] public enum class ResizeCommandFlags : public System.Enum, IComparable, IConvertible, IFormattable | |
| Member | Description |
|---|---|
| Bicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is a slower method of interpolation 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, If you apply this flag to an image that has more than 1 bit per pixel, then the behavior is undefined. |
| None | Resize normally. |
| Resample | Use linear interpolation and averaging to produce a higher-quality image. |
System.Object
System.ValueType
System.Enum
Leadtools.Services.ImageProcessing.DataContracts.ResizeCommandFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
Copy Code