VpeSetDocFileReadOnly

<< Click to Display Table of Contents >>

Navigation:  Management Functions >

VpeSetDocFileReadOnly

Previous pageReturn to chapter overviewNext page

If you read an existing document file with VpeReadDoc() or VpeReadDocPageRange() 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.

See also the flag VPE_DOCFILE_READONLY under the description of VpeOpenDoc.

void VpeSetDocFileReadOnly(

VpeHandle hDoc,

int yes_no

)

VpeHandle hDoc

Document Handle

int yes_no

Value

Description

True

read-only: file can be shared

False

exclusive access

Default:

False