Reference Guide
GdPicture14 Namespace / GdPictureImaging Class / TwainResetImageLayout Method





In This Topic
    TwainResetImageLayout Method (GdPictureImaging)
    In This Topic
    Asks to the opened device to reset the area to scan, sometimes called the ROI (Region of Interest).
    Syntax
    'Declaration
     
    
    Public Function TwainResetImageLayout() As Boolean
    public bool TwainResetImageLayout()
    public function TwainResetImageLayout(): Boolean; 
    public function TwainResetImageLayout() : boolean;
    public: bool TwainResetImageLayout(); 
    public:
    bool TwainResetImageLayout(); 

    Return Value

    True if success, else False -> Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
    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