PDFView4NET WinForms Edition
DocumentName Property (PDFPrintSettings)




O2S.Components.PDFView4NET.Printing Namespace > PDFPrintSettings Class : DocumentName Property
Gets or sets the document name to display (for example, in a print status dialog box or printer queue) while printing the document.
Syntax
'Declaration
 
Public Property DocumentName As String
'Usage
 
Dim instance As PDFPrintSettings
Dim value As String
 
instance.DocumentName = value
 
value = instance.DocumentName
public string DocumentName {get; set;}
public: __property string* get_DocumentName();
public: __property void set_DocumentName( 
   string* value
);
public:
property String^ DocumentName {
   String^ get();
   void set (    String^ value);
}

Property Value

The document name to display while printing the document. The default is the name of the file being printed.
Remarks
The DocumentName property does not specify the file to print.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

PDFPrintSettings Class
PDFPrintSettings Members