Leadtools Namespace : RasterSizeFlags Enumeration |
[FlagsAttribute()] public enum RasterSizeFlags : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <FlagsAttribute()> Public Enum RasterSizeFlags Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As RasterSizeFlags
[FlagsAttribute()] public enum RasterSizeFlags : System.IComparable, System.IConvertible, System.IFormattable
public enum RasterSizeFlags
Leadtools.RasterSizeFlags = function() { }; Leadtools.RasterSizeFlags.prototype = {
None = 0x0000, FavorBlack = 0x0001, Resample = 0x0002, Bicubic = 0x0004, ScaleToGray = 0x0008, };
[FlagsAttribute()] public enum class RasterSizeFlags : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x0000 | None | Resize normally |
0x0001 | 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. |
0x0002 | Resample | Use linear interpolation and averaging to produce a higher-quality image |
0x0004 | Bicubic | Use bicubic interpolation and averaging to produce a higher quality image. This is slower than Resample |
0x0008 | ScaleToGray |
(Document/Medical only). Use interpolation to display black and white images using shades of gray when the image is resized. This improves the readability when the image is scaled up or down. The generated image is 8-bit grayscale, so this option should be used only for black and white images. |
System.Object
System.ValueType
System.Enum
Leadtools.RasterSizeFlags