User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_printerpreview

TGIS_PrinterPreview class

DK11 for .NET | TatukGIS.NDK.TGIS_PrinterPreview | Classes | Constructors | Fields | Methods | Properties

Encapsulation of print preview printer. Creating this you can provide existing TPrinter object (for example standard Printer). If not then "virtual" printer will be created (based on LETTER page size).

Available also on: Delphi FMX | Delphi VCL | Java.

Syntax

// C#
public class TGIS_PrinterPreview : TGIS_Printer
{
}
' VisualBasic
Public Class TGIS_PrinterPreview
  Inherits TGIS_Printer
End Class
// Oxygene
type
  TGIS_PrinterPreview = public class( TGIS_Printer )
  end;

Inheritance

→ TGIS_ObjectDisposable → TGIS_Printer

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_PrinterPreview() public

Fields

Inherited Protected
Name Visibility Description
FAborted protected Determine if the user aborted the print job.
FBitmap protected Bitmap created by print preview.
FPageNumber protected Page number.
(Inherited from TGIS_Printer)
FPixelsPerInch protected Resolution in PPI.
FPreferBitmapOutput protected True, if printer output is preferred to be a bitmap.
(Inherited from TGIS_Printer)
FPrinter protected Underlying PrintDocument object.
(Inherited from TGIS_Printer)
FPrinting protected Indicate whether a print job is printing.
FTitle protected See documentation for TPrinter in Delphi help.
FVirtualPrinter protected True, if is virtual driver (preview, pdf etc).
(Inherited from TGIS_Printer)

Methods

Inherited Overrides Protected
Name Visibility Description
BeginDoc public Initiate a print job.
(Overrides TGIS_Printer.BeginDoc)
EndDoc public End the current print job.
(Overrides TGIS_Printer.EndDoc)
NewPage public Increment page number counter.
(Overrides TGIS_Printer.NewPage)
SetPrinter public Set current printer's graphics context.
(Inherited from TGIS_Printer)
TwipsToX public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels (X-coordinate).
(Inherited from TGIS_Printer)
TwipsToY public Convert the size from to device independent Twips (1/1440 inch) to device dependent pixels (Y-coordinate).
(Inherited from TGIS_Printer)

Properties

Inherited Protected
Name Visibility Description
Aborted public Determine if the user aborted the print job.
(Inherited from TGIS_Printer)
Bitmap public Bitmap created by print preview.
PageHeight public Height of printable area.
(Inherited from TGIS_Printer)
PageNumber public Indicate the number of the page currently printing.
(Inherited from TGIS_Printer)
PageSize public Physical page size.
(Inherited from TGIS_Printer)
PageWidth public Width of printable area.
(Inherited from TGIS_Printer)
PPI public Pixel per Inch of the preview device.
PpiX public Horizontal resolution of the printer.
(Inherited from TGIS_Printer)
PpiY public Vertical resolution of the printer.
(Inherited from TGIS_Printer)
PrintArea public Physical print area.
(Inherited from TGIS_Printer)
Printer public Underlying PrintDocument object.
(Inherited from TGIS_Printer)
PrinterPrintArea public Physical print area of the printer.
Title public Document name to display while printing.
(Inherited from TGIS_Printer)
VirtualPrinter public True, if is print virtual driver (not printer based: preview, pdf etc.
(Inherited from TGIS_Printer)

2019/01/25 17:10