UndoEnabled Property

Pageflex Document Action API

Pageflex Document Action API UndoEnabled Property
Namespaces > Pageflex.Scripting > Document > UndoEnabled
Gets or sets whether Undo() and Redo() are enabled.
Syntax
C# Visual Basic Managed C++
public bool UndoEnabled { get; set; }
Public Property UndoEnabled As Boolean
public:
bool UndoEnabled {
	bool get ();
	void set (bool value);
}
Remarks
By default, Undo() and Redo() are disabled for a document, which improves execution efficiency. Setting this property to trueTruetrue allows speculative modifications to be revoked, a powerful technique but one which may reduce execution efficiency.
Exceptions
Exception Condition
StaleScriptingObjectException This object's associated internal object no longer exists.

Assembly: PFScript Version: 8.0.7.1407 (Module: PFScript)