[]
        
(Showing Draft Content)

Document History Functions

The following snippets demonstrates the code used to create document history functions:

Undo

if(rtb.DocumentHistory.CanUndo)
{
    rtb.DocumentHistory.Undo();
}

Redo

if(rtb.DocumentHistory.CanRedo)
{
    rtb.DocumentHistory.Redo();
}