This documentation is for the old version. Go to the latest Graphics Mill docs

AdvancedPsdTextFrame.TextBox Property

Gets/sets the boundaries of the text field of this layer.

Namespace: Aurigma.GraphicsMill.Codecs
Assembly: Aurigma.GraphicsMill.Codecs.AdvancedPsd (in Aurigma.GraphicsMill.Codecs.AdvancedPsd.dll)

Syntax

Visual Basic
Public Property TextBox As RectangleF
C#
public RectangleF TextBox { get; set; }

Property Value

RectangleF class instance which contains the boundaries of the text field.

Remarks

You should distinguish coordinates/dimensions of the text layer and the text box. The text layer coordinates/dimensions specify the bounding rectangle for the visible part of the layer. The text box specifies the area which the designer of the PSD file assigns for the text. The text is aligned relatively this box and if the text is multiline, it is used to break words into strings. If the text string exceeds this box, it should be clipped.

See Also

Reference