User Tools

Site Tools


api:dk11:net:tatukgis.ndk.tgis_printer

TGIS_Printer class

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

Encapsulation of standard printer. Creating this you must provide existing TPrinter object (for example standard Printer).

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

Syntax

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

Inheritance

→ TGIS_ObjectDisposable

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_Printer() public Create a instance based on existing printer.

Fields

Inherited Protected
Name Visibility Description
FPageNumber protected Page number.
FPreferBitmapOutput protected True, if printer output is preferred to be a bitmap.
FPrinter protected Underlying PrintDocument object.
FVirtualPrinter protected True, if is virtual driver (preview, pdf etc).

Methods

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

Properties

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

2019/01/25 17:10