User Tools

Site Tools


api:dk11:activex:tatukgis_xdk11.itgis_controlnortharrow.drawbmp_ipicturedisp_integer

Table of Contents

ITGIS_ControlNorthArrow.DrawBmp method

DK11 for ActiveX | TatukGIS_XDK11.ITGIS_ControlNorthArrow.DrawBmp | Methods | Properties

Draw control on a provided bitmap

Available also on: Delphi FMX | .NET WinForms.

Syntax

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

Parameters

Name Type Description
_bmp IPictureDisp bitmap on which the drawing will be performed; if null then bitmap will be created based on control size and returned by function
_ppi int
Integer
force PPI resolution; if 0 then set by corresponding GIS_Viewer object

Result

Type Description
IPictureDisp Bitmap (newly create bitmap if _bmp is nil)
2020/05/22 01:04

Page Tools