Worksheet::centerHorizontally
Worksheet::centerHorizontally – Center the page horizontally.
Synopsis
require_once "Spreadsheet/Excel/Writer.php";
void Worksheet::centerHorizontally (
integer $center=1
)
Description
Center the page horizontally.
Parameter
-
integer $center
- the optional value for centering. Defaults to 1 (center).
Note
This function can not be called statically.
Example
Using centerHorizontally()
<?php
?>