Comment.TextVerticalAlignment

Comment.TextVerticalAlignment property

Gets and sets the text vertical alignment type of the comment.

public TextAlignmentType TextVerticalAlignment { get; set; }

Examples


[C#]
if (comment1.TextVerticalAlignment ==  TextAlignmentType.Fill)
{
    comment1.TextVerticalAlignment = TextAlignmentType.Center;
}

See Also