DK for ActiveX | TatukGIS_XDK11.ITGIS_Bitmap.ScaleBitmap | Methods | Properties
Scale bitmap pixels from a source buffer into a destination buffer using the selected resampling filter.
// C# public void ScaleBitmap( ITGIS_Pixels _srcBmp, int _srcWidth, int _srcHeight, ITGIS_Pixels _dstBmp, int _dstWidth, int _dstHeight, TGIS_ScalingFilter _filtering );
' VisualBasic Public Sub ScaleBitmap( ByVal _srcBmp As ITGIS_Pixels, ByVal _srcWidth As Integer, ByVal _srcHeight As Integer, ByVal _dstBmp As ITGIS_Pixels, ByVal _dstWidth As Integer, ByVal _dstHeight As Integer, ByVal _filtering As TGIS_ScalingFilter )
// Oxygene public procedure ScaleBitmap( _srcBmp : ITGIS_Pixels; _srcWidth : Integer; _srcHeight : Integer; _dstBmp : ITGIS_Pixels; _dstWidth : Integer; _dstHeight : Integer; _filtering : TGIS_ScalingFilter );
| Name | Type | Description |
|---|---|---|
| _srcBmp | ITGIS_Pixels | Source pixel buffer. |
| _srcWidth | int Integer | Width of the source bitmap in _srcBmp. |
| _srcHeight | int Integer | Height of the source bitmap in _srcBmp. |
| _dstBmp | ITGIS_Pixels | Destination pixel buffer to receive the scaled image. |
| _dstWidth | int Integer | Width of the output bitmap in _dstBmp. |
| _dstHeight | int Integer | Height of the output bitmap in _dstBmp. |
| _filtering | TGIS_ScalingFilter | Resampling filter to use for horizontal and vertical scaling. |