ImageEn, unit IEVect

TImageEnVect.ObjMemoMarginRight

TImageEnVect.ObjMemoMarginRight


Declaration

property ObjMemoMarginRight[hobj: integer]: double;


Description

Specifies the right margin in percentage of horizontal width. 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 ObjMemoMarginRight, use: TIETextLayer.HorzMargin
Note: Same property is used for both left and right

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