TX Text Control .NET for Windows Forms Documentation

FrameBase.Alignment Property

Gets or sets the horizontal alignment of an image or text frame which is anchored to a paragraph.

Introduced: 15.1.

Syntax

[C#] public HorizontalAlignment Alignment { get; set; }
[Visual Basic] Public Property Alignment() As HorizontalAlignment
ValueDescription
LeftThe image or text frame is left aligned.
RightThe image or text frame is right aligned.
CenterThe image or text frame is centered.
JustifyThis value cannot be used for images and text frames.

Remarks

If the image or text frame has another Location than left, right or center, this property returns zero.

See Also

 
 
 

Products

Support

Downloads

Corporate

Buy Now