Cell

Cell PDF data

Namespace: Com\Tecnick\Pdf

abstract class Cell extends Base

Extends: Base

Source: src/Cell.php:39

Cell PDF data

Methods

setDefaultCellBorderPos()

Sets the default cell border position.

public setDefaultCellBorderPos(float $borderpos): void

Parameters:

  • $borderpos (float): The border position to set: BORDERPOS_DEFAULT BORDERPOS_EXTERNAL BORDERPOS_INTERNAL

Source: src/Cell.php:131

setDefaultCellMargin()

Set the default cell margin in user units.

The values are converted and stored in internal points, so the margin of a cell definition array passed to the text methods must be already in points.

public setDefaultCellMargin(float $top, float $right, float $bottom, float $left): void

Parameters:

  • $top (float): Top.
  • $right (float): Right.
  • $bottom (float): Bottom.
  • $left (float): Left.

Source: src/Cell.php:96

setDefaultCellPadding()

Set the default cell padding in user units.

The values are converted and stored in internal points, so the padding of a cell definition array passed to the text methods must be already in points.

public setDefaultCellPadding(float $top, float $right, float $bottom, float $left): void

Parameters:

  • $top (float): Top.
  • $right (float): Right.
  • $bottom (float): Bottom.
  • $left (float): Left.

Source: src/Cell.php:115

Inherited members

From Base