Vcl.Printers.TPrinter.NewPage

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure NewPage;

C++

void __fastcall NewPage();

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.Printers.pas
Vcl.Printers.hpp
Vcl.Printers TPrinter

Description

Starts a new page and increments the PageNumber property.

NewPage forces the current print job to begin printing on a new page in the printer.

NewPage increments the value of the PageNumber property. It also resets the value of the Pen property of the Canvas back to (0, 0).

See Also

Code Examples