Back to Devexpress

TCustomdxComponentPrinter.GetPageColRowCount(Integer,Integer,TBasedxReportLink) Method

vcl-dxpscore-dot-tcustomdxcomponentprinter-dot-getpagecolrowcount-x28-system-dot-integer-system-dot-integer-dxpscore-dot-tbasedxreportlink-x29.md

latest1.6 KB
Original Source

TCustomdxComponentPrinter.GetPageColRowCount(Integer,Integer,TBasedxReportLink) Method

Specifies the number of pages taken by the report image horizontally and vertically.

Declaration

delphi
procedure GetPageColRowCount(out ACol: Integer; out ARow: Integer; AReportLink: TBasedxReportLink = nil);

Parameters

NameType
AColInteger
ARowInteger
AReportLinkTBasedxReportLink

Remarks

The GetPageColRowCount method calculates the number of pages occupied by the report images, on the basis of current page settings (page size, margins, etc.). The AReportLink parameter specifies a report link to the printed component. Once this method is executed, the APageColCount parameter contains the number of ‘column’ pages and the APageRowCount parameter contains the numbers of ‘row’ pages. For instance, the GetPageColRowCount method returns 2 as the APageColCount parameter and 2 as the APageRowCount parameter for the following report image:

See Also

TBasedxReportLink.GetPageColRowCount

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit