ShowPageSetupDialog(TdxSpreadSheetTableView,Integer) Method
In This Article
Invokes the “Page Setup” dialog for a specified worksheet.
#Declaration
Delphi
procedure ShowPageSetupDialog(ASheet: TdxSpreadSheetTableView; const AActivePage: Integer = -1);
#Parameters
Name | Type |
---|---|
ASheet | Tdx |
AActive |
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:
AActive |
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. | More |
1 | The “Margins” page. | More |
2 | The “Header/Footer” page. | – |
3 | The “Sheet” page. | Print |
See Also