Skip to main content

TCustomdxComponentPrinter.PageSetupEx(Integer,Boolean,Boolean,Boolean,Boolean,TBasedxReportLink) Method

Invokes the Page Setup dialog.

Declaration

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