[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.Forms.IButton.HorizontalTextAlignment

HorizontalTextAlignment Property

HorizontalTextAlignment

Gets or sets the horizontal text alignment of the button.

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

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