Unit 'Printers' Package
[Overview][Types][Classes][Variables][Index] [#lcl]

TPrinterCanvas

[Properties (by Name)] [Methods (by Name)] [Events (by Name)]

Declaration

Source position: printers.pas line 56

type TPrinterCanvas = class(TCanvas)

protected

  function GetLeftMargin;

  

  function GetTopMargin;

  

  function GetBottomMargin;

  

  function GetRightMargin;

  

public

  constructor Create(); virtual;

  

  procedure BeginDoc; virtual;

  

  procedure NewPage; virtual;

  

  procedure BeginPage; virtual;

  

  procedure EndPage; virtual;

  

  procedure EndDoc; virtual;

  

  procedure Changing; override;

  

  property Printer: TPrinter; [r]

  

  property Title: string; [rw]

  

  property PageHeight: Integer; [r]

  

  property PageWidth: Integer; [r]

  

  property PaperWidth: Integer; [rw]

  

  property PaperHeight: Integer; [rw]

  

  property PageNumber: Integer; [r]

  

  property TopMargin: Integer; [rw]

  

  property LeftMargin: Integer; [rw]

  

  property BottomMargin: Integer; [rw]

  

  property RightMargin: Integer; [rw]

  

  property Orientation: TPrinterOrientation; [rw]

  

  property XDPI: Integer; [rw]

  

  property YDPI: Integer; [rw]

  

end;

Inheritance

TPrinterCanvas

  

|

TCanvas

  

Implements a drawing surface for a visual control or bitmap image.

|

TObject



CT Web help

CodeTyphon Studio