Back to Devexpress

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

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-printpagesex-x28-dxpsglbl-dot-tdxpspageindexes-dxpsglbl-dot-tdxpagenumbers-system-dot-integer-system-dot-boolean-dxpscore-dot-tbasedxreportlink-x29.md

latest2.4 KB
Original Source

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

NameTypeDescription
APageIndexesTdxPSPageIndexes

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:

pnAllThe procedure prints all pages.pnEvenThe procedure prints only even pages.pnOddThe 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

dxPSCore.dxPrintComponent Procedure

TCustomdxComponentPrinter.Print Procedure

TCustomdxComponentPrinter.PrintEx Procedure

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit