Class \avadim\FastExcelWriter\Style\ImageStyle

Source: 6.19.2 · 0608684

On this page

  • __construct() – ImageStyle constructor
  • height() – Set height of image
  • hyperlink() – Set URL of hyperlink
  • offset() – Set offset in pixels relative to the left and top borders of the cell
  • set() – Set style options from array
  • toArray() – Return style options as array
  • width() – Set width of image

__construct()


php
public function __construct(array $options = [])

ImageStyle constructor

Parameters

  • array $options

height()


php
public function height($height): ImageStyle

Set height of image

Parameters

  • int|float $height

hyperlink()


php
public function hyperlink(string $hyperlink): ImageStyle

Set URL of hyperlink

Parameters

  • string $hyperlink

offset()


php
public function offset($x, $y): ImageStyle

Set offset in pixels relative to the left and top borders of the cell

Parameters

  • int|float $x
  • int|float $y

set()


php
public function set(array $options): ImageStyle

Set style options from array

Parameters

  • array $options

toArray()


php
public function toArray(): array

Return style options as array

Parameters

None


width()


php
public function width($width): ImageStyle

Set width of image

Parameters

  • int|float $width

FastExcelWriter 6.19.2 · Search this library and version.

Loading search…

Could not load search. Please try again.

No results. Try another word or method name.