TCustomdxComponentPrinter.PrintPagesEx(TdxPSPageIndexes,TdxPageNumbers,Integer,Boolean,TBasedxReportLink) Method
Prints the specified report pages.
Declaration
procedure PrintPagesEx(const APageIndexes: TdxPSPageIndexes; APageNums: TdxPageNumbers; ACopyCount: Integer; ACollate: Boolean; AReportLink: TBasedxReportLink = nil);
Parameters
Name | Type |
---|---|
APageIndexes | TdxPSPageIndexes |
APageNums | TdxPageNumbers |
ACopyCount | Integer |
ACollate | Boolean |
AReportLink | TBasedxReportLink |
Remarks
Call this procedure to print specific report pages whose numbers are passed as the APageIndexes parameter. In addition to the functionality provided by the PrintPages procedure, PrintPagesEx allows you to specify:
The required number of printed copies (ACopyCount);
Whether the printed pages are collated (ACollate);
If only the odd or even report pages are printed (APageNums):
Value | Description |
---|---|
pnAll | The PrintPagesEx procedure prints all pages whose numbers are passed as the APageIndexes parameter. |
pnEven | The procedure prints only the even pages from the specified list. |
pnOdd | The procedure prints only the odd pages from the specified list. |
As in the case of the PrintPages procedure, you can choose to print a specific report link passed as the optional AReportLink parameter or print the current report link (by default).
See Also