GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / PrintSetDocumentName Method
The new value of the printer document name setting.





In This Topic
PrintSetDocumentName Method (GdPictureImaging)
In This Topic
Sets up the printer document name setting of the active printer. You can use it to display during the next print process (for example, in a print status dialog box or printer queue) while printing the document.
Syntax
'Declaration
 
Public Function PrintSetDocumentName( _
   ByVal DocumentName As String _
) As GdPictureStatus
public GdPictureStatus PrintSetDocumentName( 
   string DocumentName
)
public function PrintSetDocumentName( 
    DocumentName: String
): GdPictureStatus; 
public function PrintSetDocumentName( 
   DocumentName : String
) : GdPictureStatus;
public: GdPictureStatus PrintSetDocumentName( 
   string* DocumentName
) 
public:
GdPictureStatus PrintSetDocumentName( 
   String^ DocumentName
) 

Parameters

DocumentName
The new value of the printer document name setting.

Return Value

A member of the GdPictureStatus enumeration. If the method has been successfully followed, then the return value is GdPictureStatus.OK.

We strongly recommend always checking this status first.

Remarks
Just to inform you that the default value specified by the toolkit is "GdPicture Print Process".

Likewise to remind you that the active printer is the printer identified by the PrintGetActivePrinter method or set by the PrintSetActivePrinter method and it is dedicated to executing all subsequent print jobs using this class as well as utilizing all by you altered printer settings.

See Also