PrintGetCollate Method (GdPictureImaging)
In This Topic
Returns the printer collate setting of the active printer. This property determines, whether the printed document is collated.
true will print a complete copy of the document before the first page of the next copy is printed. false will print each page by the number of copies specified before printing the next page.
Syntax
'Declaration
Public Function PrintGetCollate() As Boolean
public bool PrintGetCollate()
public function PrintGetCollate(): Boolean;
public function PrintGetCollate() : boolean;
public: bool PrintGetCollate();
public:
bool PrintGetCollate();
Return Value
The value of the printer collate setting. true if the printed document is collated when printing, otherwise false.
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