User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controlnortharrow.drawbmp_tbitmap_integer

Table of Contents

TGIS_ControlNorthArrow.DrawBmp method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_ControlNorthArrow.DrawBmp | Constructors | Methods | Properties

Draw control on a provided bitmap

Available also on: Delphi FMX | ActiveX.

Syntax

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

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 int
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)
2020/05/22 01:17

Page Tools