DocSetReadOnlyΒΆ

DocSetReadOnly sets the read-only flag.

bool = DocSetReadOnly(hDoc, bReadOnly)

Return Value

If the function succeeds, the return value is TRUE (1); otherwise it is FALSE (0).

Parameters

hDoc

Identifies the document.

bReadOnly

A Boolean that sets whether the document is read-only. Possible values are: TRUE (1): Makes the document read-only in UniPlot. FALSE (0): Makes the document read/write in UniPlot, but does not change its status on disk. For example, if the document is read-only on disk, it remains read-only.

id-750700