Syntax: doPageSetup(
document)
Returns: TRUE
if the user clicks "OK" in the page setup dialog
FALSE
if the user clicks "Cancel" in the page setup dialog
The doPageSetup
function displays the Page Setup dialog for a document. This function must be called on an empty document, before any elements are added to it. doPageSetup
returns TRUE
if the user clicks the "OK" button in the dialog box, or FALSE
if the user clicks "Cancel". You can call the getLandscapeMode
routine before and after doPageSetup
to determine if the user changed the page orientation in the Page Setup dialog box.