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.
Public Function WiaGetHorizontalResolution() As Integer
public int WiaGetHorizontalResolution()
public function WiaGetHorizontalResolution(): Integer; 
public function WiaGetHorizontalResolution() : int;
public: int WiaGetHorizontalResolution(); 
int WiaGetHorizontalResolution(); 

Return Value

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


GdPictureImaging Class
GdPictureImaging Members
WiaSetHorizontalResolution Method
WiaGetAvailableHorizontalResolutionNo Method
WiaGetAvailableHorizontalResolutionCount Method