User Tools

Site Tools


api:dk11:net:tatukgis.ndk.igis_viewer3d.printtile_tgis_bitmap_integer_integer

Table of Contents

IGIS_Viewer3D.PrintTile method

DK11 for .NET | TatukGIS.NDK.IGIS_Viewer3D.PrintTile | Methods | Properties

Dump visible screen rectangle to a bitmap

Available also on: Delphi | ActiveX.

Syntax

// C#
public void PrintTile(
  TGIS_Bitmap _bmp,
  int _offsetx,
  int _offsety
);
' VisualBasic
Public Sub PrintTile(
  ByVal _bmp As TGIS_Bitmap,
  ByVal _offsetx As Integer,
  ByVal _offsety As Integer
)
// Oxygene
public
  procedure PrintTile(
    _bmp : TGIS_Bitmap;
    _offsetx : Integer;
    _offsety : Integer
  );

Parameters

Name Type Description
_bmp TGIS_Bitmap 32 bits TBitmap filled with tile data
_offsetx int
Integer
offset in x direction (in pixels)
_offsety int
Integer
offset in x direction (in pixels)

Remarks

if aspect ratios of _rect and _bmp are different procedure will preserve _rect ratio (empty margins will occur on _bmp)

2019/02/08 01:34