User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_viewerwnd.printbmp_bitmap_rectangle_tgis_extent_double

Table of Contents

TGIS_ViewerWnd.PrintBmp(Bitmap, Rectangle, TGIS_Extent, double) method

Syntax

// C#
public virtual void PrintBmp(
  ref Bitmap _bmp,
  Rectangle _rect,
  TGIS_Extent _extent,
  ref double _scale
);
' VisualBasic
Public Overridable Sub PrintBmp(
  ByRef _bmp As Bitmap,
  ByVal _rect As Rectangle,
  ByVal _extent As TGIS_Extent,
  ByRef _scale As Double
)
// Oxygene
public
  procedure PrintBmp(
    var _bmp : Bitmap;
    _rect : Rectangle;
    _extent : TGIS_Extent;
    var _scale : Double
  ); virtual;

Parameters

Name Type Description
_bmp Bitmap bitmap on which the drawing will be performed
_rect Rectangle rectangle to be printed (ignored)
_extent TGIS_Extent map extent to be used
_scale double
Double
scale factor used during print (for printing scale etc); if scale=0 then scale will be calculated automatically to fit the _extent

Remarks

This method is suitable to print reasonable small images (e.g. comparable to screen size). To export really huge images please use TGIS_PixelExportManager.

2022/02/18 20:26

Page Tools