OpenSource Method
Description
Loads the specified Source into main memory and causes its initialization. If no source is specified (no SelectSource() or SelectSourceByIndex() is called), opens the default source.
| ActiveX Edition | Plug-in Edition | Mac Edition |
|---|---|---|
| Since V1.0 | Since V1.0 | Since V6.4 |
Syntax
Boolean ObjectName. OpenSource()
Parameters
None.
Return value
Boolean.
TRUE indicates success. FALSE indicates failure.
When an error occurs and IfThrowException property is TRUE, an exception will be thrown.
When FALSE is returned or an exception is thrown, check ErrorCode property and ErrorString property for error information.
Remarks
If no source selection function is called before OpenSource(), OpenSource() opens the default source.
See also
Copyright © 2012 Dynamsoft Corporation.All Rights Reserved.
