Retrieves the document from the server, opens it in read-only mode or edit mode, verifies the signature and embeds the content files or not.
Namespace: Therefore.API
Parameters
nDocNo
The document number.
nVersionNo
The version number. Pass 0 to get the latest version.
strInbox
The destination directory.
pServer
A valid and connected TheServer Object.
bReadOnly
true
|
The document is opened in read-only mode.
|
false
|
The document is opened for editing.
|
bVerifySignature
true
|
The document signature is verified. The Viewer is doing this by default
|
false
|
The document signature is not verified.
|
bEmbedContentFiles
true
|
Content files are embeded in the .thex file.
|
false
|
Content files are not embeded in the .thex file.
|
Return Value
Path and filename of the retrieved document.
|
Exception
|
Condition
|
Null Reference Argument
|
pServer parameter is a null reference / null pointer.
|
Invalid Server
|
pServer does not refer to a valid and connected Thereforeâ„¢ server.
|
Number Not Found
|
nDocNo is not a valid document number.
|
Invalid Path
|
strInbox uses a path that is not valid on your system.
|
|