DK for Delphi | FMX.GisPrinters.TGIS_PrinterPreview | Classes | Constructors | Fields | Methods | Properties
Print preview printer wrapper that renders output to a bitmap and can use an existing TPrinter or create a virtual printer based on LETTER page size.
// Delphi type TGIS_PrinterPreview = class( TGIS_Printer, IGIS_PrinterPreview ) end;
// C++ Builder class PASCALIMPLEMENTATION TGIS_PrinterPreview : public TGIS_Printer { };
| Name | Visibility | Description | |
|---|---|---|---|
| Create(TPrinter) | public | Creates a printer wrapper based on an existing TPrinter instance. (Overrides TGIS_Printer.Create) |
|
| Create(TPrinter; Integer; Single) | public | Creates a print preview printer with explicit system PPI and canvas scale values. | |
| Name | Visibility | Description | |
|---|---|---|---|
| FAborted | protected | Indicates whether preview generation has been aborted. | |
| FBitmap | protected | Bitmap created by print preview. | |
| FCanvasScale | protected | Canvas scale; should be taken from GIS.ControlCanvasScale. | |
| FLastPage | protected | True if the last page is printing. (Inherited from TGIS_PrinterAbstract) |
|
| FPageNumber | protected | Current preview page number. | |
| FPixelsPerInch | protected | Preview resolution in pixels per inch (PPI). | |
| FPrinter | protected | Underlying TPrinter object. (Inherited from TGIS_Printer) |
|
| FPrinting | protected | Indicates whether preview generation is currently in progress. | |
| FSystemPPI | protected | System PPI; should be taken from GIS.ControlSystemPPI. | |
| FTitle | protected | Document title used for the preview printer. | |
| FVirtualPrinter | protected | True if this wrapper uses a virtual printer backend such as print preview or PDF output. (Inherited from TGIS_PrinterAbstract) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| Abort | public | (Overrides TGIS_Printer.Abort) |
|
| BeginDoc | public | Start a print job. (Overrides TGIS_Printer.BeginDoc) |
|
| BeginDocEx | public | Initiates printing and returns the local initialization state. (Inherited from TGIS_PrinterAbstract) |
|
| canConvertTwips | protected | Checks if TwipsToX and TwipsToY can convert positive values (if PPI is available). (Overrides TGIS_Printer.canConvertTwips) |
|
| DrawCharts | public | (Inherited from TGIS_Printer) |
|
| DrawGraphic | public | Internal use of TatukGIS only. (Inherited from TGIS_PrinterAbstract) |
|
| DrawLabels | public | (Inherited from TGIS_Printer) |
|
| DrawOnCanvas | public | (Inherited from TGIS_Printer) |
|
| DrawSelection | public | (Inherited from TGIS_Printer) |
|
| EndDoc | public | Finish the current print job. (Overrides TGIS_Printer.EndDoc) |
|
| EndDocEx | public | Finishes printing started with BeginDocEx. (Inherited from TGIS_PrinterAbstract) |
|
| FixPage | public | Virtual hook called after a new preview page bitmap is prepared, allowing subclasses to apply post-page adjustments. (Implements IGIS_PrinterPreview.FixPage) |
|
| IsPrinterAssigned | public | (Inherited from TGIS_Printer) |
|
| LockCache | public | (Inherited from TGIS_Printer) |
|
| NewPage | public | Starts a new page in the current print job. (Overrides TGIS_Printer.NewPage) |
|
| public | (Inherited from TGIS_Printer) |
||
| TwipsToX | public | Converts a device-independent Twips value (1/1440 inch) to device-dependent pixels on the X axis. (Inherited from TGIS_PrinterAbstract) |
|
| TwipsToY | public | Converts a device-independent Twips value (1/1440 inch) to device-dependent pixels on the Y axis. (Inherited from TGIS_PrinterAbstract) |
|
| UnlockCache | public | (Inherited from TGIS_Printer) |
|
| Name | Visibility | Description | |
|---|---|---|---|
| Aborted | public | True if printing has been aborted. (Inherited from TGIS_PrinterAbstract) |
|
| Bitmap | public | Bitmap created by print preview. | |
| Canvas | public | Canvas of the underlying TPrinter used for drawing print output. (Inherited from TGIS_Printer) |
|
| CanvasScale | public | Canvas scale. | |
| Dpi | public | Printer resolution in dots per inch (DPI). (Inherited from TGIS_Printer) |
|
| LastPage | public | True if the last page is printing. (Inherited from TGIS_PrinterAbstract) |
|
| PageHeight | public | Height of the printable page area in printer pixels. (Inherited from TGIS_PrinterAbstract) |
|
| PageNumber | public | Current page number of the print job. (Inherited from TGIS_PrinterAbstract) |
|
| PageSize | public | Physical page size (whole sheet, including margins) in printer pixels. (Inherited from TGIS_PrinterAbstract) |
|
| PageWidth | public | Width of the printable page area in printer pixels. (Inherited from TGIS_PrinterAbstract) |
|
| PixelsPerInch | public | Pixels per inch (PPI) of the preview device. | |
| PPI | public | Pixels per inch (PPI) of the printer device. (Inherited from TGIS_PrinterAbstract) |
|
| PrintArea | public | Physical print area. (Inherited from TGIS_PrinterAbstract) |
|
| Printer | public | Underlying TPrinter object. (Inherited from TGIS_Printer) |
|
| Printing | public | True if a print job is currently active. (Inherited from TGIS_PrinterAbstract) |
|
| Renderer | public | Renderer object created for the printer canvas. (Inherited from TGIS_PrinterAbstract) |
|
| SystemPPI | public | System PPI used for preview scaling. | |
| Title | public | Title of the print job (document name shown in the print queue). (Inherited from TGIS_PrinterAbstract) |
|
| ViewerRenderer | public | Renderer object created for printing viewers on the printer canvas. (Inherited from TGIS_PrinterAbstract) |
|
| VirtualPrinter | public | True if this is a virtual printer driver not backed by a physical printer, such as print preview or PDF output. (Inherited from TGIS_PrinterAbstract) |
|