GdPicture.NET Reference Guide
WiaGetHorizontalResolution Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : WiaGetHorizontalResolution Method
Returns the current horizontal resolution in Dot per inch of the selected device.
Syntax
'Declaration
 
Public Function WiaGetHorizontalResolution() As Integer
public int WiaGetHorizontalResolution()
public function WiaGetHorizontalResolution(): Integer; 
public function WiaGetHorizontalResolution() : int;
public: int WiaGetHorizontalResolution(); 
public:
int WiaGetHorizontalResolution(); 

Return Value

If success, non-zero value. If fail, -1. Use WiaGetLastError() methods for diagnosing the error.
See Also

Reference

GdPictureImaging Class
GdPictureImaging Members
WiaSetHorizontalResolution Method
WiaGetAvailableHorizontalResolutionNo Method
WiaGetAvailableHorizontalResolutionCount Method