User Tools

Site Tools


api:dk11:delphi:fmx.giscontrolprintpreview.tgis_printpreviewfactoryfmx.preview_igis_viewer_tgis_printmanagerabstract_double_string_integer_d048e6ca53735057df87526280404f13

Table of Contents

TGIS_PrintPreviewFactoryFMX.Preview method

Syntax

// Delphi
public
  procedure Preview(
    const _viewer : IGIS_Viewer;
    const _printManager : TGIS_PrintManagerAbstract;
    var _scale : Double;
    const _caption : String;
    const _left : Integer;
    const _top : Integer;
    const _width : Integer;
    const _height : Integer;
    const _state : TWindowState;
    const _help : TGIS_HelpEvent
  ); override;
// C++ Builder
public:
  virtual void Preview(
    IGIS_Viewer* const _viewer,
    TGIS_PrintManagerAbstract* const _printManager,
    double &_scale,
    const UnicodeString _caption,
    const int _left,
    const int _top,
    const int _width,
    const int _height,
    TWindowState* const _state,
    TGIS_HelpEvent* const _help
  );

Parameters

Name Type Description
_viewer IGIS_Viewer viewer object
_printManager TGIS_PrintManagerAbstract print manager object
_scale Double scale factor used during print (for printing scale etc); if scale=0 then scale will be calculated automatically to fit the _extent
_caption String preview caption
_left Integer x-coordinate of the rectangle to print
_top Integer y-coordinate of the rectangle to print
_width Integer width of the rectangle to print
_height Integer height of the rectangle to print
_state TWindowState not used
_help TGIS_HelpEvent help event
2019/10/10 01:06