TImageEnVect.ObjBrushColor
Declaration
property ObjBrushColor[hobj: integer]: TColor;
Description
ObjBrushColor is the brush color of hobj object.
hobj is the ID of the object. You can also specify IEV_NEXT_INSERTED_OBJECT (-1) which refers to the next object to be inserted or IEV_PREVIOUS_INSERTED_OBJECT (-2) for the last object inserted.
// Set clRed as brush (background) color for the next object to insert
ImageEnVect1.ObjBrushColor[IEV_NEXT_INSERTED_OBJECT] := clRed;
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of ObjBrushColor, use:
TIELayer.FillColor
ImageEnView1.CurrentLayer.FillColor := clRed;
ImageEnView1.Update();