PHP | Spreadsheet_Excel_Writer | setHAlign() Function
The setHAlign() function is an inbuilt function in PHP | Spreadsheet_Excel_Writer which is used to set cell alignment of the spreadsheet. Syntax: void Format::setHAlign( $location ) Parameters: This function accepts single parameter as $location which takes the position, at which text is to be place