This documentation is archived and is not being maintained.

PrintDialog.PrintToFile Property

Gets or sets a value indicating whether the Print to file check box is checked.

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

Property Value

true if the Print to file check box is checked; otherwise, false. The default is false.

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

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

Show: