Open Method of the Document Object
This method opens the document, which belongs to some project. To work with such document (access its structure, parameters, etc.), you should first open it. Depending on the parameter passed to this method the document can be opened for reading or writing. To close the document, use the Close method of the Document object.
Syntax
Visual Basic .NET
Sub Open(WriteAccess As Boolean)
C++
HRESULT Open( VARIANT_BOOL WriteAccess );
Parameters
- WriteAccess
- [in] This variable specifies whether the document is opened for reading or writing. If the value of this parameter is FALSE, the document is opened for reading. If you want to edit the document set this parameter to TRUE. This parameter is optional. The default value of the parameter is TRUE.
Return values
This method has no specific return values. It returns the standard return values of ABBYY FlexiCapture SDK functions.
See also
Using a Document Object within a Project
See sample: FlexiCapture SDK Code Snippets, FlexiCapture Project Viewer
15.08.2023 13:19:30