User Tools

Site Tools


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

Table of Contents

TGIS_ControlScale.DrawBmp(TGIS_Bitmap; 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: ActiveX.

Syntax

// Delphi
public
  function DrawBmp(
    const _bmp : TGIS_Bitmap;
    const _scale : Double;
    const _ppi : Integer
  ) : TGIS_Bitmap; overload;
// C++ Builder
public:
  TGIS_Bitmap* DrawBmp(
    TGIS_Bitmap* const _bmp,
    const double _scale,
    const int _ppi
  ) /* overload */;

Parameters

Name Type Description
_bmp TGIS_Bitmap 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
TGIS_Bitmap Bitmap (newly create bitmap if _bmp is nil)
2024/04/28 01:24

Page Tools