User Tools

Site Tools


api:dk11:delphi:fmx.gisprinters.tgis_customprinterpreview.create_tprinter_string_integer_single

Table of Contents



TGIS_CustomPrinterPreview.Create(TPrinter; String; Integer; Single) constructor

DK for Delphi | FMX.GisPrinters.TGIS_CustomPrinterPreview.Create | Overloads | Constructors | Fields | Methods | Properties

Creates a custom print preview wrapper using explicit system PPI and canvas scale values.

Syntax

// Delphi
public
  constructor Create(
    const _printer : TPrinter;
    const _customFormat : String;
    const _systemPPI : Integer;
    const _canvasScale : Single
  ); overload;
// C++ Builder
Create (
  TPrinter* const _printer,
  const UnicodeString _customFormat,
  const int _systemPPI,
  const float _canvasScale
);

Parameters

Name Type Description
_printer TPrinter Printer object to wrap.
_customFormat String Custom page format name used to configure preview page dimensions.
_systemPPI Integer System PPI value; use GIS.ControlSystemPPI.
_canvasScale Single Canvas scale value; use GIS.ControlCanvasScale.
2026/07/11 00:18

Page Tools