<< Click to Display Table of Contents >> VpeGetEditProtection |
[Professional Edition and above]
Retrieves the edit protection status from the current VPE Document.
int VpeGetEditProtection(
VpeHandle hDoc
)
VpeHandle hDoc
Document Handle
Returns:
Value |
Description |
0 |
the current document is not protected from being edited with dycodoc |
1 |
the current document is protected |
Example:
VpeSetEditProtection(hDoc, 0);
VpeWriteDoc(hDoc, "my_file.vpe");
Activates the edit protection and writes the current document as protected file to disk.