In This Topic
GdPicture14 Namespace / GdPictureImaging Class / TwainGetPaperSize Method

TwainGetPaperSize Method (GdPictureImaging)

In This Topic
Gets the current paper size.
Syntax
'Declaration
 
Public Function TwainGetPaperSize() As TwainPaperSize
public TwainPaperSize TwainGetPaperSize()
public function TwainGetPaperSize(): TwainPaperSize; 
public function TwainGetPaperSize() : TwainPaperSize;
public: TwainPaperSize TwainGetPaperSize(); 
public:
TwainPaperSize TwainGetPaperSize(); 

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. NONE (0) indicates that the maximum image size supported by the device is to be used.
See Also