DocGetProtectionFlags returns the protection flag.
Return Value
flags is the protection flag.
| value | meaning |
|---|---|
| PROTECT_NONE (0) | No Protection. |
| PROTECT_READ (1) | File open protection. UniPlot requires the user to enter a password to open the document. |
| PROTECT_WRITE (2) | File modify protection. |
The flags PROTECT_READ and PROTECT_WRITE can be OR ed. PROTECT_READ|PROTECT_WRITE protects the document against opening and modifying.
Parameters
Identifies the document.
id-831319