ImageEn, unit IEVect

TImageEnVect.ObjFontStyles

TImageEnVect.ObjFontStyles


Declaration

property ObjFontStyles[hobj: integer]: TFontStyles;


Description

Specifies the font style for the iekTEXT object hobj.

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.


Example

ImageEnVect1.ObjFontStyles[IEV_NEXT_INSERTED_OBJECT ] := fsBold;


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjFontStyles, use: TIETextLayer.Font, TIELineLayer.LabelFont

TIETextLayer( ImageEnView1.CurrentLayer ).Font.Style := [ fsBold ];
ImageEnView1.Update();