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.PageSetupEx(Integer,Boolean,Boolean,Boolean,Boolean,TBasedxReportLink) Method

Invokes the Page Setup dialog.

#Declaration

Delphi
function PageSetupEx(AActivePageIndex: Integer; AShowPreviewBtn: Boolean; AShowPrintBtn: Boolean; out APreviewBtnClicked: Boolean; out APrintBtnClicked: Boolean; AReportLink: TBasedxReportLink = nil): Boolean; overload;

#Parameters

Name Type
AActivePageIndex Integer
AShowPreviewBtn Boolean
AShowPrintBtn Boolean
APreviewBtnClicked Boolean
APrintBtnClicked Boolean
AReportLink TBasedxReportLink

#Returns

Type
Boolean

#Remarks

The PageSetupEx function is called to display the Page Setup dialog window. The AActivePageIndex parameter specifies which page of the Page Setup dialog window is displayed by default. The AShowPreviewBtn and AShowPrintBtn parameters specify whether to display the Preview… and Print Preview… buttons in this dialog window. The APreviewBtnClicked and APrintBtnClicked parameters allow a developer to ascertain which of these buttons was pressed.

The AReportLink parameter specifies the link that stores a report to print. If nil is passed as the AReportLink parameter, then the current report link will be printed out.

Note

If the used parameter is not nil, the corresponding button is displayed.

See Also