User Tools

Site Tools


api:dk11:delphi:fmx.gisprintmanager.tgis_printmapevent_tobject_igis_viewer_trect_tgis_printer

Table of Contents

TGIS_PrintMapEvent prototype

DK11 for Delphi | FMX.GisPrintManager.TGIS_PrintMapEvent | Classes | Prototypes

Event for OnBeforePrintMap and OnAfterPrintMap.

Syntax

// Delphi
type
  TGIS_PrintMapEvent = procedure (
    _sender : TObject;
    _viewer : IGIS_Viewer;
    _rect : TRect;
    _printer : TGIS_Printer
  ) of object;
// C++ Builder
typedef void (_closure *TGIS_PrintMapEvent)(
  TObject* _sender,
  IGIS_Viewer* _viewer,
  TRect* _rect,
  TGIS_Printer* _printer
);

Parameters

Name Type Description
_sender TObject print manager object
_viewer IGIS_Viewer map to print
_rect TRect rectangle to be printed (area of print on paper)
_printer TGIS_Printer printer object on which printing will occur
2020/05/08 23:16

Page Tools