DK11 for Delphi | VCL.GisControlScale.TGIS_ControlScale.DrawBmp | Overloads | Constructors | Methods | Properties | Events
Draw control on a provided bitmap.
Available also on: Delphi FMX | ActiveX | Python.
// Delphi public function DrawBmp( const _bmp : TBitmap; const _scale : Double; const _ppi : Integer ) : TBitmap; overload;
// C++ Builder public: TBitmap* DrawBmp( TBitmap* const _bmp, const double _scale, const int _ppi ) /* overload */;
Name | Type | Description |
---|---|---|
_bmp | TBitmap | bitmap on which the drawing will be performed; if null then bitmap will be created based on control size and returned by function |
_scale | Double | scale of the map; if <= 0 then map scale will be used |
_ppi | Integer | force PPI resolution; if 0 then set by corresponding GIS_Viewer object |
Type | Description |
---|---|
TBitmap | Bitmap (newly create bitmap if _bmp is nil) |