User Tools

Site Tools


api:dk11:delphi:vcl.giscontrolnortharrow.tgis_controlnortharrow.drawbmp_tgis_bitmap_integer

Table of Contents

TGIS_ControlNorthArrow.DrawBmp(TGIS_Bitmap; Integer) method

DK11 for Delphi | VCL.GisControlNorthArrow.TGIS_ControlNorthArrow.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 _ppi : Integer
  ) : TGIS_Bitmap; overload;
// C++ Builder
public:
  TGIS_Bitmap* DrawBmp(
    TGIS_Bitmap* const _bmp,
    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
_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