imagekitcontrolname.GetEdit().SetUndoVectorCountMax(short Val)
Property Value
The number of "undo" steps. (The number of times "undo" can be used.) From 0 to 50. Default is 50.
Values are in pixels.
Explanation
The UndoVectorCountMax property sets the number of times that "undo" can be used in the Vector Image-Editing Toolbar.
Although allowing a high number of "undo" steps is useful, it consumes much more memory than allowing only a few.
When the UndoVectorCountMax property is set to 0, the item "Undo" in the image editing toolbar's popup menu is disabled.
Please set the value of this property prior to displaying the image editing toolbar. Once the toolbar is displayed, this value cannot be changed.
Example:
ImageKit1.Edit.ToolBarTop = 50
ImageKit1.Edit.ToolBarLeft = 100
ImageKit1.Edit.ToolBarCloseBox = True
ImageKit1.Edit.ToolBarCaption = "ToolBar"
ImageKit1.Edit.FontName = "Arial"
ImageKit1.Edit.FontSize = 12
ImageKit1.Edit.UndoVectorCountMax = 10
ImageKit1.Edit.EditEnable = True
ImageKit1.Edit.EditImageLayerNo = 2
ImageKit1.Edit.ShowToolbar ikVector
Setting this value
This value can be set at run-time.Retrieving this value
This value can be retrieved at run-time.