User Tools

Site Tools


Table of Contents

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


// 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
  procedure PrintBmp(
    var _bmp : Bitmap;
    _rect : Rectangle;
    _extent : TGIS_Extent;
    var _scale : Double
  ); virtual;


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
scale factor used during print (for printing scale etc); if scale=0 then scale will be calculated automatically to fit the _extent


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