Share via


TextAlignment Enumeration

Specifies the horizontal alignment of text with its layout area on a hardware display device.

Namespace: Microsoft.SPOT.Presentation.Media
Assembly: Microsoft.SPOT.TinyCore (in microsoft.spot.tinycore.dll)

Syntax

public enum TextAlignment

Members

  Member name Description
Center A value specifying that the center of the text is aligned with the center of the layout area.
Justify A value specifying that the text is aligned evenly along both the left and right margins of the layout area so that there is a smooth edge on both sides.
Left A value specifying that the left edge of the text is flush with the left margin of the layout area.
Right A value specifying that the right edge of the text is flush with the right margin of the layout area.

Version Information

Available in the .NET Micro Framework versions 3.0, 4.0, 4.1 and 4.2.

See Also

Reference

Microsoft.SPOT.Presentation.Media Namespace