Vcl.Printers.TPrinter.PageNumber
Delphi
property PageNumber: Integer read FPageNumber;
C++
__property int PageNumber = {read=FPageNumber, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Vcl.Printers.pas Vcl.Printers.hpp |
Vcl.Printers | 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 Text variable is written and a CR is encountered on the last line of the page.
See Also
Code Examples