User Tools

Site Tools


api:dk11:delphi:vcl.giscontrolscale.tgis_controlscale.drawbmp_tbitmap_double_integer

Table of Contents

TGIS_ControlScale.DrawBmp(TBitmap; Double; Integer) method

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.

Syntax

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

Parameters

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

Result

Type Description
TBitmap Bitmap (newly create bitmap if _bmp is nil)
2024/04/28 01:24

Page Tools