scripting:api:base-document:locked

Locked

Property of IBaseDocument

Locked state of the document

Read-Only Property of type VARIANT_BOOL

var bVal = BaseDocument.Locked;
bVal = BaseDocument.Locked
VARIANT_BOOL bVal;
HRESULT hr = BaseDocument.get_Locked(&bVal);