ImageEn, unit ievect

TImageEnVect.ObjMemoMarginBottom

TImageEnVect.ObjMemoMarginBottom


Declaration

property ObjMemoMarginBottom[hobj: integer]: double;


Description

Specifies the bottom 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


Transition Information

If you are transitioning your code to TImageEnView Layers, instead of ObjMemoMarginBottom, use: TIETextLayer.VertMargin
Note: Same property is used for both top and bottom

TIETextLayer( ImageEnView1.CurrentLayer ).VertMargin := 0;
ImageEnView1.Update();