[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IButton.VerticalTextAlignment

VerticalTextAlignment Property

VerticalTextAlignment

Gets or sets the vertical alignment.

Returns the vertical alignment applied to the button text.

Not all values are supported by the *.ssjson format.

Declaration
VerticalAlignment VerticalTextAlignment { get; set; }
Property VerticalTextAlignment As VerticalAlignment
Examples
IButton button = worksheet.Controls.AddButton(20, 20, 120, 24);
button.VerticalTextAlignment = VerticalAlignment.Center;
VerticalAlignment alignment = button.VerticalTextAlignment;