InsertUndoRecord

Method of IDocument

Insert abstract undo step for informing registered listener

Return Value

JavaScript

var pnPosition = Document.InsertUndoRecord(nActionType);

Visual Basic Script

pnPosition = Document.InsertUndoRecord nActionType

C++

long nPosition;
HRESULT hr = Document.InsertUndoRecord(nActionType, &nPosition);