GdPicture.NET Reference Guide
TwainHasCameraPreviewUI Method (GdPictureImaging)

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

Return Value

True if the Source supports preview UI else False: Use TwainGetLastResultCode() and TwainGetLastConditionCode() methods for diagnosing the error.
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


GdPictureImaging Class
GdPictureImaging Members
TwainGetState Method
TwainGetLastConditionCode Method
TwainGetLastResultCode Method