<< Click to Display Table of Contents >> DocFileReadOnly |
If you use set this property to True, a Document file is opened with read-only permission. A VPE document file can not be created, if this flag is specified. You can only use it to open an existing file for read-only purposes.
If a VPE document file is opened for read / write (the default), no other application can open this file - even if it tries to open the file with read-only permission. Multiple applications can open the file at the same time only, if all applications use ReadOnly = True.
If you read an existing document file with ReadDoc() into memory, you should set the read-only mode to True. In this case the document file is not opened in exclusive-mode and therefore other applications and users can browse and print it simultaneously.
property boolean VPE.DocFileReadOnly
read / write; design & runtime (read access is only possible, if the document is closed)
Possible Values:
Value |
Description |
True |
read-only: file can be shared |
False |
Exclusive access |
Default:
False