Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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