[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.ILabelOptions.Alignment

Alignment Property

Alignment

Gets or sets the cell label position.

This property controls where the watermark label is displayed within the cell. The value is one of the LabelAlignment constants. If no position has been set, this property returns topLeft. SpreadJS only.

Declaration
LabelAlignment Alignment { get; set; }
Property Alignment As LabelAlignment
Examples
IRange range = worksheet.Range["A1"];
range.Watermark = "Required";
range.LabelOptions.Alignment = LabelAlignment.bottomCenter;
LabelAlignment alignment = range.LabelOptions.Alignment;