FMX.Printer.TPrinter.PageNumber

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property PageNumber: Integer read FPageNumber;

C++

__property int PageNumber = {read=FPageNumber, nodefault};

Properties

Type Visibility Source Unit Parent
property public
FMX.Printer.pas
FMX.Printer.hpp
FMX.Printer TPrinter

Description

Indicates the number of the page currently printing.

Use PageNumber to find the page number of the currently printing page.

PageNumber is incremented whenever the NewPage method is called. It is also incremented when a TextFile variable is written and a CR (carriage return) is encountered on the last line of the page.

See Also