SetUndoLevel

#include “BiAnno.h”

BOOL CALLBACK SetUndoLevel( INT_PTR pAnno, BYTE bLevel)

Description

This function set the level of undo.

Parameters

INT_PTR

PAnno

Annotation handle

BYTE

bLevel

Level of undo. This value must be between 0 and max undo level (16).

Return value

TRUE on success, otherwise FALSE.

Programming Notes

If bLevel is 0, the undo is unavailable for annotation objects. If the bLevel is positive you can undo annotation for bLevel times. This function deletes previously saved annotations for undo and resets undo function.

Code Example

None