Worksheet::setMargins

Worksheet::setMargins – Set all the page margins to the same value in inches.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::setMargins ( float $margin )

Description

Set all the page 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()

<?php

?>