Visual Basic (Declaration) | |
---|---|
<FlagsAttribute()> Public Enum RasterSizeFlags Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[FlagsAttribute()] public enum RasterSizeFlags : Enum |
C++/CLI | |
---|---|
[FlagsAttribute()] public enum class RasterSizeFlags : public Enum |
Member | Description |
---|---|
None | Resize normally |
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.
If you apply this flag to an image that has more than 1 bit per pixel, then the behavior is undefined. |
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 |
System.Object
System.ValueType
System.Enum
Leadtools.RasterSizeFlags
Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family