Edit

Share via


PageSetupDialog.AllowOrientation Property

Definition

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

public:
 property bool AllowOrientation { bool get(); void set(bool value); };
public bool AllowOrientation { get; set; }
member this.AllowOrientation : bool with get, set
Public Property AllowOrientation As Boolean

Property Value

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

Applies to

See also