This property sets the number of times that "undo" can be used in the Raster Image-Editing Toolbar

[C++Builder]   imagekitcontrolname->Edit->UndoRasterCountMax [ = short ]
[Delphi]   imagekitcontrolname.Edit.UndoRasterCountMax [ = Smallint ]

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 UndoRasterCountMax property sets the number of times that "undo" can be used in the Raster 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 UndoRasterCountMax 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: (In Delphi)

Raster Image Toolbar
     VImageKit1.Edit.ToolBarTop := 50;
     VImageKit1.Edit.ToolBarLeft := 100;
     VImageKit1.Edit.ToolBarCloseBox := True;
     VImageKit1.Edit.ToolBarCaption := 'ToolBar';
     VImageKit1.Edit.FontName := 'Arial';
     VImageKit1.Edit.FontSize := 12;
     VImageKit1.Edit.StampBmpFile := CurrentDir + 'Stamp.bmp';
     VImageKit1.Edit.UndoRasterCountMax := 10;

     VImageKit1.Edit.EditEnable := True;
     VImageKit1.Edit.EditImageLayerNo := -1;
     VImageKit1.Edit.ShowToolbar(vikRaster);

Vector Image Toolbar
     VImageKit1.Edit.ToolBarTop := 50;
     VImageKit1.Edit.ToolBarLeft := 100;
     VImageKit1.Edit.ToolBarCloseBox := True;
     VImageKit1.Edit.ToolBarCaption := 'ToolBar';
     VImageKit1.Edit.FontName := 'Arial';
     VImageKit1.Edit.FontSize := 12;
     VImageKit1.Edit.UndoVectorCountMax := 10;

     VImageKit1.Edit.EditEnable := True;
     VImageKit1.Edit.EditImageLayerNo := 2;
     VImageKit1.Edit.ShowToolbar(vikVector);

Setting this value

This value can be set at run-time.

Retrieving this value

This value can be retrieved at run-time.

 

The ImageKit10 VCL is a product created by Newtone Corporation