GdPicture.NET Reference Guide
TwainHasCameraPreviewUI Method (GdPictureImaging)





GdPicture14 Namespace > GdPictureImaging Class : TwainHasCameraPreviewUI Method
Queries the current device for UI support for preview mode.
Syntax
'Declaration
 
Public Function TwainHasCameraPreviewUI() As Boolean
public bool TwainHasCameraPreviewUI()
public function TwainHasCameraPreviewUI(): Boolean; 
public function TwainHasCameraPreviewUI() : boolean;
public: bool TwainHasCameraPreviewUI(); 
public:
bool TwainHasCameraPreviewUI(); 

Return Value

True if the Source supports preview UI 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

Reference

GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainGetLastConditionCode Method
TwainGetLastResultCode Method