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
public bool PrintToFile {get; set;}
public: __property bool get_PrintToFile();
public: __property void set_PrintToFile(bool);
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.


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