evCreate API 5.7 Help

EvTextAlignment Interface

The EvTextAlignment TS interface defines a blueprint of a JS object that specifies the horizontal and vertical alignment of a text between the bounding box margins of a text item.

Properties

An EvTextAlignment object has the following properties:

optional horizontal: EvHTextAlignment;

A member of the EvHTextAlignment enumeration, the horizontal alignment of the text between the left and right margins.

The default value is "left".

optional vertical: EvVTextAlignment;

A member of the EvVTextAlignment enumeration, the vertical alignment of the text between the top and bottom margins.

The default value is "top".

Examples

TS

{ horizontal: EvHTextAlignment.Full, vertical: EvVTextAlignment.Center }

JS

{ horizontal: "full", vertical: "center" }
13 April 2025