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

ShowPageSetupDialog(TdxSpreadSheetTableView,Integer) Method

Invokes the “Page Setup” dialog for a specified worksheet.

#Declaration

Delphi
procedure ShowPageSetupDialog(ASheet: TdxSpreadSheetTableView; const AActivePage: Integer = -1);

#Parameters

Name Type
ASheet TdxSpreadSheetTableView
AActivePage Integer

#Remarks

Call this procedure and pass a target worksheet as the ASheet parameter to invoke the “Page Setup” dialog. Use the optional AActivePage parameter to select the active dialog page to display:

AActivePage Value The “Page Setup” Dialog Shows End-User Command
-1 (default) The “Page” page if the dialog is invoked for the first time at runtime. Otherwise – the dialog shows the same page that was active when the dialog was invoked for the last time.
0 The “Page” page. MorePaperSizes
1 The “Margins” page. MorePageMargins
2 The “Header/Footer” page.
3 The “Sheet” page. PrintTitles
See Also