ImageEn, unit ievect

TImageEnVect.ObjFontName

TImageEnVect.ObjFontName


Declaration

property ObjFontName[hobj: integer]: string;


Description

Specifies the font name for an 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

// Sets 'Arial' as font type for next object to insert
ImageEnVect1.ObjFontName[IEV_PREVIOUS_INSERTED_OBJECT] := 'Arial';