GC.Spread.Sheets Namespace : VerticalAlign Enumeration |
Member | Description |
---|---|
bottom | Indicates that the cell content is bottom-aligned. |
center | Indicates that the cell content is centered. |
top | Indicates that the cell content is top-aligned. |
var style = new GC.Spread.Sheets.Style(); style.font = "8pt Arial"; style.hAlign = GC.Spread.Sheets.HorizontalAlign.center; style.vAlign = GC.Spread.Sheets.VerticalAlign.center; activeSheet.setStyle(1,1,style,GC.Spread.Sheets.SheetArea.viewport); activeSheet.getCell(1,1).value("B2");
Object
GC.Spread.Sheets.VerticalAlign