Documentación offline PHP master

Vtiful\Kernel\Excel::setRow

master Ver versión oficial en línea Licencia CC-BY-3.0Descargado el 2026-08-02

En esta página

Vtiful\Kernel\Excel::setRow

Vtiful\Kernel\Excel setRow

Descripción#

public Vtiful\Kernel\Excel::setRow(string $range, float $height, [resource $format])
```php

Establece el formato de la fila.

## Parámetros

`range`  
Las cadenas de coordenadas de inicio y fin de la celda

`height`  
altura de la fila

`format`  
recurso de formato de celdas

## Valores devueltos

instancia `Vtiful\Kernel\Excel`

## Ejemplos

Ejemplo de setRow
'./tests' ]; $excel = new \Vtiful\Kernel\Excel($config); $excel->fileName('tutorial01.xlsx'); $format = new \Vtiful\Kernel\Format($excel->getHandle()); $boldStyle = $format->bold()->toResource(); $excel->header(['name', 'age']) ->data([['viest', 21]]) ->setRow('A1', 20, $boldStyle) ->output(); ```php ?>