Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

PageSetupDialog.AllowMargins Property

Gets or sets a value indicating whether the margins section of the dialog box is enabled.

[Visual Basic]
Public Property AllowMargins As Boolean
[C#]
public bool AllowMargins {get; set;}
[C++]
public: __property bool get_AllowMargins();
public: __property void set_AllowMargins(bool);
[JScript]
public function get AllowMargins() : Boolean;
public function set AllowMargins(Boolean);

Property Value

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

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

PageSetupDialog Class | PageSetupDialog Members | System.Windows.Forms Namespace | AllowOrientation | AllowPaper | AllowPrinter

Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2015 Microsoft