DocGetProtectionFlagsΒΆ

DocGetProtectionFlags returns the protection flag.

flags = DocGetProtectionFlags(hDoc)

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

hDoc

Identifies the document.

id-831319