SharpLeaf Reference > TextBlock : PageElement Class > Alignment Property

TextBlock.Alignment Property

Horizontal positioning of text along target line.

public Alignment Alignment {get; set;}

Example

text.Alignment = Alignment.Center;

See also ...

TextBlock.Members | TextBlock.Wrap Property


Send comments on this topic
© Dyalog Ltd 2021