GdPicture.NET.14
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailableXResolutionNo Method
Index of the available X Resolution. Must be a value between 1 and TwainGetAvailableXResolutionCount() returned value.





In This Topic
TwainGetAvailableXResolutionNo Method (GdPictureImaging)
In This Topic
Returns an available X Resolution value which can be used by the opened source in its current configuration.
Syntax
'Declaration
 
Public Function TwainGetAvailableXResolutionNo( _
   ByVal No As Integer _
) As Integer
public int TwainGetAvailableXResolutionNo( 
   int No
)
public function TwainGetAvailableXResolutionNo( 
    No: Integer
): Integer; 
public function TwainGetAvailableXResolutionNo( 
   No : int
) : int;
public: int TwainGetAvailableXResolutionNo( 
   int No
) 
public:
int TwainGetAvailableXResolutionNo( 
   int No
) 

Parameters

No
Index of the available X Resolution. Must be a value between 1 and TwainGetAvailableXResolutionCount() returned value.

Return Value

The X Resolution.
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