PageUndoEndΒΆ

PageUndoEnd ends an Undo block.

bool = PageUndoEnd(hPage)

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.

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);

id-1882720