Visual Basic (Declaration) | |
---|---|
<DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")> Public Enum RasterResizeMode Inherits Enum |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")] public enum RasterResizeMode : Enum |
C++/CLI | |
---|---|
[DataContractAttribute(Namespace="http://Leadtools.Services.Raster.DataContracts/2009/01", Name="RasterResizeMode")] public enum class RasterResizeMode : public Enum |
Member | Description |
---|---|
Normal | Normal, no sizing |
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. |
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: Microsoft .NET Framework 3.0, Windows XP, Windows Server 2003 family, Windows Server 2008 family