GdPicture.NET Reference Guide
PrintGetQuality Method (GdPictureImaging)
Example 





GdPicture14 Namespace > GdPictureImaging Class : PrintGetQuality Method
Returns the current quality 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.
Example
Printing with high quality after making sure that it is set as the print quality.
Dim oGdPictureImaging As New GdPictureImaging
Dim ImageID As Integer = oGdPictureImaging.CreateGdPictureImageFromFile("intput.png")
If imageId <> 0 Then
   If oGdPictureImaging.PrintGetQuality() <> PrintQuality.PrintQualityHightResolution Then
      oGdPictureImaging.PrintSetQuality(PrintQuality.PrintQualityHightResolution)
   End If
   oGdPictureImaging.Print(ImageID)
   oGdPictureImaging.ReleaseGdPictureImage(ImageID)
Else
   MessageBox.Show("Error: " + oGdPictureImaging.GetStat().ToString())
End If
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members