Declaration
property TextOffsetX: Double;
Description
Shifts the drawing of text to the left or right.
TextOffsetX is a percentage value with positive and negative values, so -0.10, moves the text left 10% of the layer width. 0.50 will shift halfway to the right.
Note: There is no checking to ensure text is validly drawn using
TextOffsetX. I.e. Extreme values may cause the text to not be visible.
Default: 0
// Set shape to circular and move text 10% to the right
TIETextLayer( ImageEnView1.CurrentLayer ).BorderShape := iesEllipse;
TIETextLayer( ImageEnView1.CurrentLayer ).TextOffsetX := 0.10;
ImageEnView1.Update();
See Also
◼VertMargin
◼TextOffsetY
◼AutoSize