previousWorksheet::writeUrl (Previous) (Next) Worksheet::mergeCellsnext

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

Worksheet::setRow

Worksheet::setRow – Cette méthode est utilisée pour définir la hauteur et le format XF d'une ligne

Synopsis

require_once "Spreadsheet/Excel/Writer.php";

void Worksheet::setRow ( integer $row , integer $height , mixed $format=0 )

Description

Cette méthode est utilisée pour définir la hauteur et le format XF d'une ligne.

Parameter

  • integer $row - La ligne à définir

  • integer $height - Hauteur à donner à la ligne. Utilisez NULL pour définir le format XF sans définir la hauteur

  • mixed $format - Format XF à donner à la ligne

Note

This function can not be called statically.

Example

Exemple avec setRow()

<?php

?>
previousWorksheet::writeUrl (Previous) (Next) Worksheet::mergeCellsnext

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: Sam H
A list of possible XF format codes would be handy, anyone know where to find one?
Note by: Morten Nilsen
This function has undocumented functionality.
From the source code:

/**
* This method is used to set the height and format for a row.
*
* @access public
* @param integer $row The row to set
* @param integer $height Height we are giving to the row.
* Use null to set XF without setting height
* @param mixed $format XF format we are giving to the row
* @param bool $hidden The optional hidden attribute
* @param integer $level The optional outline level for row, in range [0,7]
*/
function setRow($row, $height, $format = null, $hidden = false, $level = 0)