PrintGetDuplexMode Method (GdPictureImaging)
Returns the printer duplex mode setting of the active printer. This property determines whether a page is printed on both sides
(if the printer supports this feature).
public Duplex PrintGetDuplexMode()
public function PrintGetDuplexMode(): Duplex;
public function PrintGetDuplexMode() : Duplex;
public: Duplex PrintGetDuplexMode();
public:
Duplex PrintGetDuplexMode();
'Declaration
Public Function PrintGetDuplexMode() As Duplex
Return Value
A member of the Duplex enumeration. The value of the active printer duplex mode setting.
Showing basic printer settings on the screen.
using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
{
Console.WriteLine("Printer settings information:");
Console.WriteLine("Image aligment: {0}", gdpictureImaging.PrintGetAlignment().ToString());
Console.WriteLine("Number of copies: {0}", gdpictureImaging.PrintGetCopies().ToString());
Console.WriteLine("Duplex mode: {0}", gdpictureImaging.PrintGetDuplexMode().ToString());
Console.WriteLine("Will be printed document collated?: {0}", gdpictureImaging.PrintGetCollate().ToString());
}