PageUndoStartΒΆ
PageUndoStart begins an Undo block.
-
bool = PageUndoStart(hPage, ssMsg)
Return Value
bool If the function succeeds, the return value bool is TRUE (1). If the function fails, the return value is FALSE (0).
Parameters
-
hPage
Identifies the page.
-
ssMsg
ssMsg A scalar string with the Undo message. The message can be specified in German and Englich. In this case the text must be separated by a @ sign. See example.
Comment
An Undo block begins with the function PageUndoStart and ends with the call of the function PageUndoEnd. All function calls between the calls of the function PageUndoStart and PageUndoEnd will be added to one Undo/Redo step.
Example
ssText = auto_xyz_statistic(hData);
PageUndoStart(hPage, "3D Berechne Statistik @3D Compute statistic");
_CreateTextObject(hPage, hLayer, ssText, TRUE);
PageUndoEnd(hPage);
See also
id-700782