TImageEnVect.ObjFontLocked
Declaration
property ObjFontLocked[hobj: integer]: boolean;
Description
When the object is a Memo (iekMemo), ObjFontLocked locks the alignment, color and font, allowing all characters to have the same visual characteristics.
If the ObjFontLocked property is disabled (False) the user can modify font and alignment using the control keys in
KeyboardShortcuts.
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 ObjFontLocked, use:
TIELayer.Locked
ImageEnView1.CurrentLayer.Locked := True;
ImageEnView1.Update();