User Tools

Site Tools


api:dk11:delphi:fmx.giscontrollegend.tgis_controllegend.drawbmp_fmx.graphics.tbitmap_double_integer

Table of Contents



TGIS_ControlLegend.DrawBmp method

DK for Delphi | FMX.GisControlLegend.TGIS_ControlLegend.DrawBmp | Constructors | Methods | Properties | Events

Draws the control on the specified bitmap.

Syntax

// 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
  );

Parameters

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

Result

Type Description
FMX.Graphics.TBitmap Bitmap containing the rendered legend. If _bitmap is nil, a new bitmap is created and returned.
2026/07/11 00:18

Page Tools