插入本地图片
函数原型
insertImage(int $row, int $column, string $localImagePath, double $widthScale = 1.0, double $heightScale = 1.0): self
insertImageBuffer(int $row, int $column, string $bytes, ?array $options = null): selfint $row
int $column
string $localImagePath
double $widthScale
double $heightScale
string $bytes
array $options(insertImageBuffer 可选参数)
insertImageBuffer 可选参数)示例 —— 本地路径
示例 —— 内存字节流
Last updated