Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / PrintGetQuality Method
Example





In This Topic
    PrintGetQuality Method (GdPictureImaging)
    In This Topic
    Returns the printer quality setting of the active printer. This setting matches the PrinterResolutionKind property included in the PrinterSettings.PrinterResolutions parameter of the active printer.
    Syntax
    'Declaration
     
    
    Public Function PrintGetQuality() As PrintQuality
    public PrintQuality PrintGetQuality()
    public function PrintGetQuality(): PrintQuality; 
    public function PrintGetQuality() : PrintQuality;
    public: PrintQuality PrintGetQuality(); 
    public:
    PrintQuality PrintGetQuality(); 

    Return Value

    A member of the PrintQuality enumeration. The value of the active printer quality setting.
    Remarks
    We strongly recommend using the GetStat method or the PrintGetStat method to identify the specific reason for the method's failure.

    Just to remind you that the active printer is the printer identified by the PrintGetActivePrinter method or set by the PrintSetActivePrinter method and it is dedicated to executing all subsequent print jobs using this class as well as utilizing all by you altered printer settings.

    Likewise to inform you that you can also use the PrintGetPrinterSettings method to retrieve currently defined printer settings of the active printer with all its relevant properties.

    Example
    Showing basic printer settings on the screen.
    using (GdPictureImaging gdpictureImaging = new GdPictureImaging())
    {
        Console.WriteLine("Printer settings information:");
        Console.WriteLine("Printer color mode: {0}", gdpictureImaging.PrintGetColorMode().ToString());
        Console.WriteLine("Paper orientation: {0}", gdpictureImaging.PrintGetOrientation().ToString());
        Console.WriteLine("Printing quality: {0}", gdpictureImaging.PrintGetQuality().ToString());
    }
    See Also