[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.LabelAlignment

LabelAlignment Enum

Specifies the position of a cell label within a range.

Use this enum with Alignment to place a cell label at the top or bottom of the cell area, aligned to the left, center, or right.

Namespace: GrapeCity.Documents.Excel
Assembly: DS.Documents.Excel.dll
Syntax
public enum LabelAlignment
Public Enum LabelAlignment
Examples
IRange range = worksheet.Range["A1"];
range.CellPadding = new CellPadding(10, 0, 0, 0);
range.Watermark = "Student Name";
range.LabelOptions.Font.Size = 7;
range.LabelOptions.Alignment = LabelAlignment.topCenter;

Fields

Name Description
bottomCenter

Indicates that the cell label position is bottom-center.

bottomLeft

Indicates that the cell label position is bottom-left.

bottomRight

Indicates that the cell label position is bottom-right.

topCenter

Indicates that the cell label position is top-center.

topLeft

Indicates that the cell label position is top-left.

topRight

Indicates that the cell label position is top-right.