Gets or sets a value indicating whether the orientation section of the dialog box (i.e., landscape vs. portrait) is enabled.
[Visual Basic] Public Property AllowOrientation As Boolean [C#] public bool AllowOrientation {get; set;} [C++] public: __property bool get_AllowOrientation(); public: __property void set_AllowOrientation(bool); [JScript] public function get AllowOrientation() : Boolean; public function set AllowOrientation(Boolean);
true if the orientation section of the dialog box is enabled; otherwise, false. The default is true.
PageSetupDialog Class | PageSetupDialog Members | System.WinForms Namespace | AllowMargins | AllowPaper | AllowPrinter