Leadtools.CF Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.6.15
RasterSizeFlags Enumeration
See Also  
Leadtools Namespace : RasterSizeFlags Enumeration



Flags which control the behaviour of image resize methods.

Syntax

Visual Basic (Declaration) 
<FlagsAttribute()>
Public Enum RasterSizeFlags 
   Inherits Enum
   Implements IComparableIConvertibleIFormattable 
Visual Basic (Usage)Copy Code
Dim instance As RasterSizeFlags
C# 
[FlagsAttribute()]
public enum RasterSizeFlags : Enum, IComparableIConvertibleIFormattable  
C++/CLI 
[FlagsAttribute()]
public enum class RasterSizeFlags : public Enum, IComparableIConvertibleIFormattable  

Members

MemberDescription
Normal Resize normally
FavorBlack(Advanced Features 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.
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 SIZE_RESAMPLE.

Example

For an example, refer to ResizeCommand and SizeCommand.

Remarks

For more information, refer to ResizeCommand and SizeCommand.

Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         Leadtools.RasterSizeFlags

Requirements

Target Platforms: Microsoft .NET CF Framework 2.0, Windows Mobile 5 PocketPC, Windows Mobile 5 Smartphone, Windows Mobile 6

See Also