previousWorksheet::setZoom (Previous) (Next) Worksheet::writenext

View this page in Last updated: Sun, 18 Oct 2009
English | Brazilian Portuguese | Chinese | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Turkish

Worksheet::setPrintScale

Worksheet::setPrintScale – Set the scale factor for the printed page.

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::setPrintScale ( integer $scale=100 )

Description

Set the scale factor for the printed page. It turns off the "fit to page" option

Parameter

  • integer $scale - The optional scale factor. Defaults to 100

Note

This function can not be called statically.

Example

Using setPrintScale()

<?php

?>
previousWorksheet::setZoom (Previous) (Next) Worksheet::writenext

Download Documentation Last updated: Sun, 18 Oct 2009
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
Note by: karabo@jacklinenterprises.com
I am using PHPExcel writer 2007 and am trying to use setPrintScale('80').

Does it not work with 2007 or how is it done?