ImageGear v26.5 - Updated
ImageGear.Formats.Pdf Assembly / ImageGear.Formats.PDF Namespace / ImGearPDFPrintOptions Class / DeviceName Property




In This Topic
    DeviceName Property
    In This Topic
    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