User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_controlscale.drawbmp_bitmap_double_integer

Table of Contents

TGIS_ControlScale.DrawBmp method

Syntax

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

Parameters

Name Type Description
_bmp Bitmap bitmap on which the drawing will be performed; if null then bitmap will be created based on control size and returned by function
_scale double
Double
scale of the map; if <= 0 then map scale will be used
_ppi int
Integer
force PPI resolution; if 0 then set by corresponding GIS_Viewer object

Result

Type Description
Bitmap Bitmap (newly create bitmap if _bmp is nil)
2020/05/07 01:19

Page Tools