GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableXResolutionCount Method





In This Topic
TwainGetAvailableXResolutionCount Method (GdPictureImaging)
In This Topic
Returns the number of available X Resolutions values which can be used by the opened source in its current configuration.
Syntax
'Declaration
 
Public Function TwainGetAvailableXResolutionCount() As Integer
public int TwainGetAvailableXResolutionCount()
public function TwainGetAvailableXResolutionCount(): Integer; 
public function TwainGetAvailableXResolutionCount() : int;
public: int TwainGetAvailableXResolutionCount(); 
public:
int TwainGetAvailableXResolutionCount(); 

Return Value

If Success, non zero: The number of available X Resolutions values. Else 0 if fail -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
Remarks
Before using this method check that the TWAIN state is >= 4 (TWAIN_SOURCE_OPEN) To get the TWAIN state, use the TwainGetState() method.
See Also