# Orientation Property The Orientation property contains the type of orientation. Syntax
    PrintDialogOptions.Orientation [=long]
Possible Values
    Long value that specifies or retrieves the orientation.
The property is read/write. Remarks Possible orientation types are: DMORIENT_PORTRAIT = 1 DMORIENT_LANDSCAPE = 2 Examples The following example prints the document that the user requested to print in portrait orientation.
    <SCRIPT TYPE="text/javascript">
    window.external.InitScriptInterface();
    SiteKiosk.Printer.OnShowPrintDialog = OnShowPrintDialog;
    function OnShowPrintDialog(SKBrowser, options)
    {
       options.Orientation = 1;
       return false;
    }
    </SCRIPT>
Applies to SiteKiosk v6.2 (and later versions). Back to top