Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / TwainGetPaperSize Method

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

    Return Value

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