Back to Devexpress

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

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

latest2.1 KB
Original Source

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

NameType
AActivePageIndexInteger
AShowPreviewBtnBoolean
AShowPrintBtnBoolean
APreviewBtnClickedBoolean
APrintBtnClickedBoolean
AReportLinkTBasedxReportLink

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

TCustomdxComponentPrinter Class

TCustomdxComponentPrinter Members

dxPSCore Unit