TImageEnVect.ObjMemoMarginLeft
Declaration
property ObjMemoMarginLeft[hobj: integer]: double;
Description
Specifies the left 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.
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 ObjMemoMarginLeft, use:
TIETextLayer.HorzMargin
Note: Same value used for both left and right
TIETextLayer( ImageEnView1.CurrentLayer ).HorzMargin := 0;
ImageEnView1.Update();