ImageGear PDF v25.2 - Updated
DeviceName Property




ImageGear.Formats.Pdf Assembly > ImageGear.Formats.PDF Namespace > ImGearPDFPrintOptions Class : DeviceName Property
Gets or sets the name of device to print to.
Syntax
'Declaration
 
Public Property DeviceName As String
'Usage
 
Dim instance As ImGearPDFPrintOptions
Dim value As String
 
instance.DeviceName = value
 
value = instance.DeviceName
public string DeviceName {get; set;}
public: __property string* get_DeviceName();
public: __property void set_DeviceName( 
   string* value
);
public:
property String^ DeviceName {
   String^ get();
   void set (    String^ value);
}

Property Value

String value.
Remarks
Aavailable devices can be found in the Windows Registry at HKEY_CURRENT_USER\Software\Microsoft\WindowsNT\CurrentVersion\Devices). PrinterSettings.PrinterName can be used to get a device name.
See Also

Reference

ImGearPDFPrintOptions Class
ImGearPDFPrintOptions Members

Is this page helpful?
Yes No
Thanks for your feedback.