\PhpOffice\PhpSpreadsheet\WorksheetRowDimension

Summary

Methods
Properties
Constants
__construct()
getVisible()
setVisible()
getOutlineLevel()
setOutlineLevel()
getCollapsed()
setCollapsed()
getXfIndex()
setXfIndex()
__clone()
getRowIndex()
setRowIndex()
getRowHeight()
setRowHeight()
getZeroHeight()
setZeroHeight()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
$visible
$outlineLevel
$collapsed
$xfIndex
$rowIndex
$height
$zeroHeight
N/A

Properties

$visible

$visible : bool

Visible?

Type

bool

$outlineLevel

$outlineLevel : int

Outline level.

Type

int

$collapsed

$collapsed : bool

Collapsed.

Type

bool

$xfIndex

$xfIndex : null|int

Index to cellXf. Null value means row has no explicit cellXf format.

Type

null|int

$rowIndex

$rowIndex : int

Row index.

Type

int

$height

$height : float

Row height (in pt).

When this is set to a negative value, the row height should be ignored by IWriter

Type

float

$zeroHeight

$zeroHeight : bool

ZeroHeight for Row?

Type

bool

Methods

__construct()

__construct(int  $pIndex) : mixed

Create a new RowDimension.

Parameters

int $pIndex

Numeric row index

Returns

mixed —

getVisible()

getVisible() : bool

Get Visible.

Returns

bool —

setVisible()

setVisible(bool  $visible) : $this

Set Visible.

Parameters

bool $visible

Returns

$this —

getOutlineLevel()

getOutlineLevel() : int

Get Outline Level.

Returns

int —

setOutlineLevel()

setOutlineLevel(int  $level) : $this

Set Outline Level.

Value must be between 0 and 7.

Parameters

int $level

Returns

$this —

getCollapsed()

getCollapsed() : bool

Get Collapsed.

Returns

bool —

setCollapsed()

setCollapsed(bool  $collapsed) : $this

Set Collapsed.

Parameters

bool $collapsed

Returns

$this —

getXfIndex()

getXfIndex() : int

Get index to cellXf.

Returns

int —

setXfIndex()

setXfIndex(int  $pValue) : $this

Set index to cellXf.

Parameters

int $pValue

Returns

$this —

__clone()

__clone() : mixed

Implement PHP __clone to create a deep clone, not just a shallow copy.

Returns

mixed —

getRowIndex()

getRowIndex() : int

Get Row Index.

Returns

int —

setRowIndex()

setRowIndex(int  $index) : $this

Set Row Index.

Parameters

int $index

Returns

$this —

getRowHeight()

getRowHeight() : float

Get Row Height.

Returns

float —

setRowHeight()

setRowHeight(float  $height) : $this

Set Row Height.

Parameters

float $height

Returns

$this —

getZeroHeight()

getZeroHeight() : bool

Get ZeroHeight.

Returns

bool —

setZeroHeight()

setZeroHeight(bool  $pValue) : $this

Set ZeroHeight.

Parameters

bool $pValue

Returns

$this —