DK for ActiveX | TatukGIS_XDK11.ITGIS_ControlScale.DrawBmp | Methods | Properties
Draw the control on a provided VCL bitmap.
Available also on: Delphi FMX.
// C# public IPictureDisp DrawBmp( IPictureDisp _bmp, double _scale, int _ppi );
' VisualBasic Public Function DrawBmp( ByVal _bmp As IPictureDisp, ByVal _scale As Double, ByVal _ppi As Integer ) As IPictureDisp
// Oxygene public function DrawBmp( _bmp : IPictureDisp; _scale : Double; _ppi : Integer ) : IPictureDisp;
| Name | Type | Description |
|---|---|---|
| _bmp | IPictureDisp | Destination bitmap. If nil, a bitmap based on the control size is created and returned. |
| _scale | double Double | Map scale to use; if <= 0 then the current viewer map scale is used. |
| _ppi | int Integer | Output resolution in pixels per inch (PPI); if 0 then the attached viewer PPI is used. |
| Type | Description |
|---|---|
| IPictureDisp | The destination bitmap, or a newly created bitmap when _bmp is nil. |