Worksheet::setMargins_TB

Worksheet::setMargins_TB – Set the top and bottom margins to the same value in inches.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::setMargins_TB ( float $margin )

Description

Set the top and bottom margins to the same value in inches.

Parameter

  • float $margin - The margin to set in inches

Note

This function can not be called statically.

Example

Using setMargins_TB()

<?php

?>