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.


Visual Basic .NET

Sub Open(WriteAccess As Boolean)


  VARIANT_BOOL 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

Usage of Cookies. In order to optimize the website functionality and improve your online experience ABBYY uses cookies. You agree to the usage of cookies when you continue using this site. Further details can be found in our Privacy Notice.