Leadtools Namespace : RasterPaintSizeMode Enumeration |
public enum RasterPaintSizeMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration Public Enum RasterPaintSizeMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As RasterPaintSizeMode
public enum RasterPaintSizeMode : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.RasterPaintSizeMode = function() { }; Leadtools.RasterPaintSizeMode.prototype = {
LeadtoolsMemberMarker(replace me) };
public enum class RasterPaintSizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Member | Description |
---|---|
Fit | Fit the image into the destination rectangle while maintaining the aspect ratio. If the image size is smaller than the destination rectangle, no resizing is done |
FitAlways | Always fit the image into the destination rectangle while maintaining the aspect ratio even if the image size is smaller than the destination rectangle |
FitWidth | Fit the image width to be the size of the width of the destination rectangle while maintaining the aspect ratio |
Normal | Normal, no sizing |
Stretch | Fit the image to fill the destination rectangle. Aspect ratio might not be maintained. |
System.Object
System.ValueType
System.Enum
Leadtools.RasterPaintSizeMode
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2