TImageEnVect.ObjTextAutoSize
Declaration
property ObjTextAutoSize[hobj: integer]: boolean;
Description
Use
ObjTextAutoSize to make the iekText object adjust its size automatically so the bounding box accommodates the width of the text.
When
ObjTextAutoSize is
false, the text object has a fixed width.
When
ObjTextAutoSize is
true, the size of the object is re-adjusted whenever the user edits the text.
IEV_PREVIOUS_INSERTED_OBJECT can be specified for
hobj to refer to the object that was last inserted.
Transition Information
If you are transitioning your code to
TImageEnView Layers, instead of ObjTextAutoSize, use:
TIETextLayer.AutoSize
TIETextLayer( ImageEnView1.CurrentLayer ).AutoSize := True;
ImageEnView1.Update();