Skip to main content

TCustomdxComponentPrinter.GetPageColRowCount(Integer,Integer,TBasedxReportLink) Method

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

Declaration

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

Parameters

Name Type
ACol Integer
ARow Integer
AReportLink TBasedxReportLink

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