Back to Devexpress

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

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

latest2.7 KB
Original Source

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

Prints the specified report pages.

Declaration

delphi
procedure PrintPagesEx(const APageIndexes: TdxPSPageIndexes; APageNums: TdxPageNumbers; ACopyCount: Integer; ACollate: Boolean);

Parameters

NameType
APageIndexesTdxPSPageIndexes
APageNumsTdxPageNumbers
ACopyCountInteger
ACollateBoolean

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):

|

align=”center” colspan=”3” !

| | --- | |

Value

|

Description

| |

colspan=”3” |

| |

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.

|

If a component printer contains the report link, the PrintPagesEx procedure sets it as the current link and calls the component printer’s PrintPagesEx procedure, passing the APageIndexes, ACopyCount, ACollate, and APageNums values as parameters. If the ComponentPrinter property is set to nil (i.e., the report link does not belong to a component printer), calling the PrintPagesEx procedure has no effect.

See Also

TBasedxReportLink.Print

TBasedxReportLink.PrintEx

TBasedxReportLink Class

TBasedxReportLink Members

dxPSCore Unit