ImageEn, unit ievect

TImageEnVect.ObjTextAlign

TImageEnVect.ObjTextAlign


Declaration

property ObjTextAlign[hobj: integer]: TIEAlignment;


Description

Specifies the text alignment of hobj object (iekTEXT).

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.

iejJustify applies only to MEMO objects


Example

// Center the text of the next inserted object
ImageEnVect1.ObjTextAlign[IEV_NEXT_INSERTED_OBJECT] := iejCenter;