User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewer3dbase.printtile_tgis_bitmap_integer_integer

Table of Contents

TGIS_Viewer3DBase.PrintTile method

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_Viewer3DBase.PrintTile | Constructors | Fields | Methods | Properties | Events

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:35