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





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

Parameters

No
Index of the available Y Resolution. Must be a value between 1 and TwainGetAvailableYResolutionCount() 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