Worksheet::setHeader
Worksheet::setHeader – Set the page header caption and optional margin.
Synopsis
require_once "Spreadsheet/Excel/Writer.php";
void Worksheet::setHeader (
string $string
,
float $margin=0.5
)
Описание
Set the page header caption and optional margin.
Parameter
-
string $string
- The header text -
float $margin
- optional head margin in inches.
Замечание
This function can not be called statically.
Пример
Using setHeader()
<?php
?>