DK for Delphi | FMX.GisControlLegend.TGIS_ControlLegend.DrawBmp | Constructors | Methods | Properties | Events
Draws the control on the specified bitmap.
// Delphi public function DrawBmp( const _bitmap : FMX.Graphics.TBitmap; const _scale : Double; const _ppi : Integer ) : FMX.Graphics.TBitmap;
// C++ Builder public: FMX.Graphics.TBitmap* DrawBmp( FMX.Graphics.TBitmap* const _bitmap, const double _scale, const int _ppi );
| Name | Type | Description |
|---|---|---|
| _bitmap | FMX.Graphics.TBitmap | bitmap on which drawing will be performed; if nil, a bitmap is created using the control size and returned by the function |
| _scale | Double | map scale to use; if 0, the current viewer scale is used |
| _ppi | Integer | pixels per inch (PPI) resolution to force; if 0, the value is taken from the associated IGIS_Viewer |
| Type | Description |
|---|---|
| FMX.Graphics.TBitmap | Bitmap containing the rendered legend. If _bitmap is nil, a new bitmap is created and returned. |