SharpLeaf Reference > TextBlock : PageElement Class > VerticalAlignment Property

TextBlock.VerticalAlignment Property

Vertical positioning of text against target line (default is Baseline)

public VerticalAlignment VerticalAlignment {get; set;}

Example

text.VerticalAlignment = VerticalAlignment.Top;

See also ...

TextBlock.Members


Send comments on this topic
© Dyalog Ltd 2021