User Tools

Site Tools


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

Table of Contents

TGIS_ControlNorthArrow.DrawBmp method

DK11 for Delphi | VCL.GisControlNorthArrow.TGIS_ControlNorthArrow.DrawBmp | Constructors | Methods | Properties | Events

Draw control on a provided bitmap

Available also on: Delphi FMX | .NET WinForms.

Syntax

// Delphi
public
  function DrawBmp(
    const _bmp : TBitmap;
    const _ppi : Integer
  ) : TBitmap;
// C++ Builder
public:
  TBitmap* DrawBmp(
    TBitmap* const _bmp,
    const int _ppi
  );

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
_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)
2017/09/04 11:18