Worksheet::setMarginTop

Worksheet::setMarginTop – Set the top margin in inches.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::setMarginTop ( float $margin=1 )

Description

Set the top margin in inches.

Parameter

  • float $margin - The margin to set in inches

Note

This function can not be called statically.

Example

Using setMarginTop()

<?php

?>