Leadtools.Services.Raster.DataContracts Namespace : RasterResizeMode Enumeration |
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")] public enum RasterResizeMode : System.Enum, System.IComparable, System.IConvertible, System.IFormattable
'Declaration <DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")> Public Enum RasterResizeMode Inherits System.Enum Implements System.IComparable, System.IConvertible, System.IFormattable
'Usage Dim instance As RasterResizeMode
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")] public enum RasterResizeMode : System.IComparable, System.IConvertible, System.IFormattable
Leadtools.Services.Raster.DataContracts.RasterResizeMode = function() { }; Leadtools.Services.Raster.DataContracts.RasterResizeMode.prototype = {
LeadtoolsMemberMarker(replace me) };
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")] public enum class RasterResizeMode : 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.Services.Raster.DataContracts.RasterResizeMode
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