Skip to main content

TCustomdxComponentPrinter.PrintPagesEx(TdxPSPageIndexes,TdxPageNumbers,Integer,Boolean,TBasedxReportLink) Method

Prints specified report pages.

Declaration

procedure PrintPagesEx(const APageIndexes: TdxPSPageIndexes; APageNums: TdxPageNumbers; ACopyCount: Integer; ACollate: Boolean; AReportLink: TBasedxReportLink = nil);

Parameters

Name Type Description
APageIndexes TdxPSPageIndexes

The array of required report pages.

APageNums TdxPageNumbers

Allows you to print all pages or only odd or even pages from the target list passed as the APageIndexes parameter:

pnAll
The procedure prints all pages.
pnEven
The procedure prints only even pages.
pnOdd
The procedure prints only odd pages.
ACopyCount Integer

Specifies the number of printed copies.

ACollate Boolean

Specifies if printed pages are collated.

AReportLink TBasedxReportLink

Optional. The source report link.

If this parameter is omitted (the parameter value is nil in Delphi or nullptr in C++Builder), the procedure uses the current report link as the content source.

Remarks

Call the PrintPagesEx procedure to print specific report pages. Unlike PrintPages, the PrintPagesEx procedure accepts additional print-related settings.

See Also