User Tools

Site Tools


api:dk11:delphi:fmx.gisprinters.tgis_customprinterpreview



TGIS_CustomPrinterPreview class

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

Print preview wrapper for custom page formats, providing bitmap-based preview output with overridden page size and print area handling.

Available also on: .NET | Java.

Syntax

// Delphi
type
  TGIS_CustomPrinterPreview = class( TGIS_PrinterPreview )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_CustomPrinterPreview : public TGIS_PrinterPreview
{
};

Inheritance

Constructors

Inherited Overrides Protected
Name Visibility Description
Create(TPrinter) public Creates a printer wrapper based on an existing TPrinter instance.
(Inherited from TGIS_PrinterPreview)
Create(TPrinter; Integer; Single) public Creates a print preview printer with explicit system PPI and canvas scale values.
(Inherited from TGIS_PrinterPreview)
Create(TPrinter; String) public Creates a custom print preview wrapper based on an existing printer.
Create(TPrinter; String; Integer; Single) public Creates a custom print preview wrapper using explicit system PPI and canvas scale values.

Fields

Inherited Protected
Name Visibility Description
FAborted protected Indicates whether preview generation has been aborted.
(Inherited from TGIS_PrinterPreview)
FBitmap protected Bitmap created by print preview.
(Inherited from TGIS_PrinterPreview)
FCanvasScale protected Canvas scale; should be taken from GIS.ControlCanvasScale.
(Inherited from TGIS_PrinterPreview)
FPageNumber protected Current preview page number.
(Inherited from TGIS_PrinterPreview)
FPixelsPerInch protected Preview resolution in pixels per inch (PPI).
(Inherited from TGIS_PrinterPreview)
FPrinter protected Underlying TPrinter object.
(Inherited from TGIS_Printer)
FPrinting protected Indicates whether preview generation is currently in progress.
(Inherited from TGIS_PrinterPreview)
FSystemPPI protected System PPI; should be taken from GIS.ControlSystemPPI.
(Inherited from TGIS_PrinterPreview)
FTitle protected Document title used for the preview printer.
(Inherited from TGIS_PrinterPreview)
FVirtualPrinter protected True if the underlying device is a virtual printer driver such as print preview or PDF output.
(Inherited from TGIS_Printer)

Methods

Inherited Overrides Protected
Name Visibility Description
Abort public
(Inherited from TGIS_PrinterPreview)
BeginDoc public
(Inherited from TGIS_PrinterPreview)
EndDoc public
(Inherited from TGIS_PrinterPreview)
NewPage public
(Inherited from TGIS_PrinterPreview)
TwipsToX public
(Inherited from TGIS_PrinterPreview)
TwipsToY public
(Inherited from TGIS_PrinterPreview)

Properties

Inherited Protected
Name Visibility Description
Aborted public True if the current print job has been aborted.
(Inherited from TGIS_Printer)
Bitmap public Bitmap created by print preview.
(Inherited from TGIS_PrinterPreview)
Canvas public Canvas of the underlying TPrinter used for drawing print output.
(Inherited from TGIS_Printer)
CanvasScale public Canvas scale.
(Inherited from TGIS_PrinterPreview)
Dpi public Printer resolution in dots per inch (DPI).
(Inherited from TGIS_Printer)
PageHeight public Physical page height in device pixels.
(Inherited from TGIS_Printer)
PageNumber public Current page number reported by the underlying TPrinter.
(Inherited from TGIS_Printer)
PageSize public Physical page size in device pixels.
(Inherited from TGIS_Printer)
PageWidth public Physical page width in device pixels.
(Inherited from TGIS_Printer)
PPI public Pixels per inch (PPI) of the preview device.
(Inherited from TGIS_PrinterPreview)
PrintArea public Physical printable area on the page.
(Inherited from TGIS_Printer)
Printer public Underlying TPrinter object.
(Inherited from TGIS_Printer)
Printing public True while the underlying TPrinter is processing a print job.
(Inherited from TGIS_Printer)
Renderer public Renderer object created on printer canvas.
(Inherited from TGIS_Printer)
SystemPPI public System PPI used for preview scaling.
(Inherited from TGIS_PrinterPreview)
Title public Title of the current print job.
(Inherited from TGIS_Printer)
VirtualPrinter public True if the target device is a virtual printer driver rather than a physical printer, for example print preview or PDF output.
(Inherited from TGIS_Printer)

2026/07/11 00:18

Page Tools