PrintGetCopies Method (GdPictureImaging)
In This Topic
Returns the printer copies setting of the active printer, that means the number of copies to be printed.
Syntax
'Declaration
Public Function PrintGetCopies() As Short
public short PrintGetCopies()
public function PrintGetCopies(): Int16;
public function PrintGetCopies() : short;
public: short PrintGetCopies();
public:
short PrintGetCopies();
Return Value
The number of copies to be printed. The value of the active printer copies setting.
Example
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());
}
Example
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());
}
See Also