Skip to main content

TCustomdxComponentPrinter.PrintPage(TBasedxReportLink,Integer) Method

Prints a specific report page.

Declaration

procedure PrintPage(AReportLink: TBasedxReportLink; APageIndex: Integer); virtual;

Parameters

Name Type
AReportLink TBasedxReportLink
APageIndex Integer

Remarks

This is the protected procedure that is internally called by the PrintPagesEx procedure. Normally, you do not need to call the PrintPage procedure. If you need to print a single report page, refer to the CurrentPage, PrintPagesEx Example topic for detailed information on using the PrintPagesEx procedure. Alternatively, you can use the PrintPages procedure if you do not need to specify additional printing parameters, such as the number of copies, page collation flag, etc.

The PrintPage procedure prints a page whose number is passed as the APageIndex parameter. The AReportLink parameter is used to pass a source report link. If nil is passed instead of the valid report link, the procedure prints the specified page from the current report link.

See Also