====== CanUndo ====== Property of [[:scripting:api:base-document:start|IBaseDocument]] ===== Description ===== Checks if undo action possible ===== Property type ===== Read-Only Property of type **[[scripting:api:data-type:VARIANT_BOOL|VARIANT_BOOL]]** ===== Syntax ===== ==== JavaScript ==== var bCan = BaseDocument.CanUndo; ==== Visual Basic Script ==== bCan = BaseDocument.CanUndo ==== C++ ==== VARIANT_BOOL bCan; HRESULT hr = BaseDocument.get_CanUndo(&bCan); ===== See Also ===== [[:scripting:api:base-document:start|IBaseDocument]] ~~NOTOC~~