Class \avadim\FastExcelWriter\Style\ImageStyle¶
- __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()¶
public function __construct(array $options = [])
Parameters¶
array $options
height()¶
public function height($height): ImageStyle
Parameters¶
int|float $height
hyperlink()¶
public function hyperlink(string $hyperlink): ImageStyle
Parameters¶
string $hyperlink
offset()¶
public function offset($x, $y): ImageStyle
Parameters¶
int|float $xint|float $y
set()¶
public function set(array $options): ImageStyle
Parameters¶
array $options
toArray()¶
public function toArray(): array
Parameters¶
None
width()¶
public function width($width): ImageStyle
Parameters¶
int|float $width