ImageEn, unit ievect

TImageEnVect.ObjMemoMarginTop

TImageEnVect.ObjMemoMarginTop


Declaration

property ObjMemoMarginTop[hobj: integer]: double;


Description

Specifies the top margin in percentage of vertical height. This applies only to memo objects.
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.ObjMemoMarginLeft[h] := 10; // 10% left
ImageEnVect1.ObjMemoMarginTop[h] := 10; // 10% top
ImageEnVect1.ObjMemoMarginRight[h] := 10; // 10% right
ImageEnVect1.ObjMemoMarginBottom[h] := 10; // 10% bottom