ImageEn, unit ievect

TImageEnVect.ObjFontAngle

TImageEnVect.ObjFontAngle


Declaration

property ObjFontAngle[hobj: integer]: double;


Description

ObjFontAngle is the rotation angle of iekTEXT object hobj. The angle is in degrees (positive values rotate counter clockwise).

If ObjFontAngle is not zero, set ObjTextAlign = iejCenter for better auto-sizing.

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.


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjFontAngle, use: TIELayer.Rotate
Note: Text rotates with layer

ImageEnView1.CurrentLayer.Rotate := 45;
ImageEnView1.Update();