GcSpread.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 GcSpread.Sheets.Style(); style.font = "8pt Arial"; style.hAlign = GcSpread.Sheets.HorizontalAlign.center; style.vAlign = GcSpread.Sheets.VerticalAlign.center; activeSheet.setStyle(1,1,style,GcSpread.Sheets.SheetArea.viewport); activeSheet.getCell(1,1).value("B2");
Object
GcSpread.Sheets.VerticalAlign