This documentation is archived and is not being maintained.

PrintDialog.AllowSelection Property

Gets or sets a value indicating whether the From... To... Page option button is enabled.

[Visual Basic]
Public Property AllowSelection As Boolean
public bool AllowSelection {get; set;}
public: __property bool get_AllowSelection();
public: __property void set_AllowSelection(bool);
public function get AllowSelection() : Boolean;
public function set AllowSelection(Boolean);

Property Value

true if the From... To... Page option button is enabled; otherwise, false. The default is true.


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

PrintDialog Class | PrintDialog Members | System.Windows.Forms Namespace | AllowSomePages | AllowPrintToFile