Retrieves the document from the server, opens it in read-only or edit mode and verifies the signature.
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.
|
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.
|
|