Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.5.10
|
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 class RasterResizeMode : public System.Enum, System.IComparable, System.IConvertible, System.IFormattable
Value | Member | Description |
---|---|---|
0x00000000 | Normal | Normal, no sizing |
0x00000001 | 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. |
0x00000002 | 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. |
0x00000003 | FitWidth | Fit the image width to be the size of the width of the destination rectangle while maintaining the aspect ratio. |
0x00000004 | 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