Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

Prints specified report pages.

#Declaration

Delphi
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