PageSetupDialog::AllowOrientation Property

 

Gets or sets a value indicating whether the orientation section of the dialog box (landscape versus portrait) is enabled.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public:
property bool AllowOrientation {
	bool get();
	void set(bool value);
}

Property Value

Type: System::Boolean

true if the orientation section of the dialog box is enabled; otherwise, false. The default is true.

.NET Framework
Available since 1.1
Return to top
Show: