GdPicture.NET Reference Guide
PrintGetPrinterSettings Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : PrintGetPrinterSettings Method
Returns the current printer settings.
Syntax
'Declaration
 
Public Function PrintGetPrinterSettings() As PrinterSettings
public PrinterSettings PrintGetPrinterSettings()
public function PrintGetPrinterSettings(): PrinterSettings; 
public function PrintGetPrinterSettings() : PrinterSettings;
public: PrinterSettings* PrintGetPrinterSettings(); 
public:
PrinterSettings^ PrintGetPrinterSettings(); 

Return Value

A System.Drawing.Printing.PrinterSettings object. The current printer settings.
Example
Obtaining the current printer's settings.
Dim oGdPictureImaging As New GdPictureImaging
'We assume that the printer settings are set here
Dim pSettings As Drawing.Printing.PrinterSettings
pSettings = oGdPictureImaging.PrintGetPrinterSettings()
'here we can change the printer settings to what we want
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members