User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_controlscale.drawbmp_ipicturedisp_double_integer

Table of Contents

ITGIS_ControlScale.DrawBmp method

DK for ActiveX | TatukGIS_XDK11.ITGIS_ControlScale.DrawBmp | Methods | Properties

Draw the control on a provided VCL bitmap.

Available also on: Delphi FMX.

Syntax

// C#
public IPictureDisp DrawBmp(
  IPictureDisp _bmp,
  double _scale,
  int _ppi
);
' VisualBasic
Public Function DrawBmp(
  ByVal _bmp As IPictureDisp,
  ByVal _scale As Double,
  ByVal _ppi As Integer
) As IPictureDisp
// Oxygene
public
  function DrawBmp(
    _bmp : IPictureDisp;
    _scale : Double;
    _ppi : Integer
  ) : IPictureDisp;

Parameters

Name Type Description
_bmp IPictureDisp Destination bitmap. If nil, a bitmap based on the control size is created and returned.
_scale double
Double
Map scale to use; if <= 0 then the current viewer map scale is used.
_ppi int
Integer
Output resolution in pixels per inch (PPI); if 0 then the attached viewer PPI is used.

Result

Type Description
IPictureDisp The destination bitmap, or a newly created bitmap when _bmp is nil.
2026/07/11 00:08

Page Tools