Learn how to change horizontal and vertical text alignment in the spreadsheet using toolbar buttons or the Format Cells dialog, and see how to do it programmatically with the JavaScript API....Sets the specified alignment attribute for the given cell range....