ShowPageSetupDialog(TdxSpreadSheetTableView,Integer) Method
Invokes the “Page Setup” dialog for a specified worksheet.
Declaration
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