====== Locked ====== Property of [[:scripting:api:base-document:start|IBaseDocument]] ===== Description ===== Locked state of the document ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]]** ===== Syntax ===== ==== JavaScript ==== var bVal = BaseDocument.Locked; ==== Visual Basic Script ==== bVal = BaseDocument.Locked ==== C++ ==== VARIANT_BOOL bVal; HRESULT hr = BaseDocument.get_Locked(&bVal); ===== See Also ===== [[:scripting:api:base-document:start|IBaseDocument]] ~~NOTOC~~