User Tools

Site Tools


api:dk11:delphi:fmx.gisprinters.tgis_printer



TGIS_Printer class

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

Wrapper for a standard printer that exposes GIS rendering on an existing TPrinter instance.

Available also on: .NET | Java | ActiveX.

Syntax

// Delphi
type
  TGIS_Printer = class( TGIS_ObjectDisposable, IGIS_Printer )
  end;
// C++ Builder
class PASCALIMPLEMENTATION TGIS_Printer : public TGIS_ObjectDisposable
{
};

Inheritance

Implements

Constructors

Inherited Overrides Protected
Name Visibility Description
Create public Creates a printer wrapper based on an existing TPrinter instance.

Fields

Inherited Protected
Name Visibility Description
FPrinter protected Underlying TPrinter object.
FVirtualPrinter protected True if the underlying device is a virtual printer driver such as print preview or PDF output.

Methods

Inherited Overrides Protected
Name Visibility Description
Abort public Aborts the current print job on the underlying TPrinter.
BeginDoc public Starts a new print job on the underlying TPrinter.
EndDoc public Ends the current print job on the underlying TPrinter.
NewPage public Starts a new page in the current print job on the underlying TPrinter.
TwipsToX public Converts a device-independent Twips value (1/1440 inch) to device-dependent pixels on the X axis.
TwipsToY public Converts a device-independent Twips value (1/1440 inch) to device-dependent pixels on the Y axis.

Properties

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

2026/07/11 00:18

Page Tools