GdPicture.NET.14.API
GdPicture14 Namespace / GdPictureImaging Class / TwainGetAvailablePaperSizeNo Method
Index of the available paper size value. Must be a value between 1 and TwainGetAvailablePaperSizeCount() returned value.





In This Topic
TwainGetAvailablePaperSizeNo Method (GdPictureImaging)
In This Topic
Returns an available paper size value which can be used by the opened source.
Syntax
'Declaration
 
Public Function TwainGetAvailablePaperSizeNo( _
   ByVal Number As Integer _
) As TwainPaperSize
public TwainPaperSize TwainGetAvailablePaperSizeNo( 
   int Number
)
public function TwainGetAvailablePaperSizeNo( 
    Number: Integer
): TwainPaperSize; 
public function TwainGetAvailablePaperSizeNo( 
   Number : int
) : TwainPaperSize;
public: TwainPaperSize TwainGetAvailablePaperSizeNo( 
   int Number
) 
public:
TwainPaperSize TwainGetAvailablePaperSizeNo( 
   int Number
) 

Parameters

Number
Index of the available paper size value. Must be a value between 1 and TwainGetAvailablePaperSizeCount() returned value.

Return Value

A member of the TwainPaperSize enumeration.
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