[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IStyle.VerticalAlignment

VerticalAlignment Property

VerticalAlignment

Gets or sets the vertical alignment for this style.

Use this property to define or retrieve how content is aligned vertically when the style is applied.

Declaration
VerticalAlignment VerticalAlignment { get; set; }
Property VerticalAlignment As VerticalAlignment
Examples
IStyle style = workbook.Styles.Add("topStyle");
style.VerticalAlignment = VerticalAlignment.Top;
worksheet.Range["A1"].Style = style;
VerticalAlignment alignment = style.VerticalAlignment;