User Tools

Site Tools


api:dk11:net:tatukgis.ndk.wpf.tgis_controlnortharrow.drawbmp_writeablebitmap_integer

Table of Contents

TGIS_ControlNorthArrow.DrawBmp method

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

Draw control on a provided bitmap

Syntax

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

Parameters

Name Type Description
_bmp WriteableBitmap 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
WriteableBitmap Bitmap (newly create bitmap if _bmp is nil)
2017/09/04 11:30