Picture
概述
Picture 是 Aspose.Cells FOSS for Go 中的一种类型。
Picture 表示嵌入工作表中的图像。
可用的方法包括:SetAnchor。在安装 Aspose.Cells FOSS for Go 包后,所有公共成员对任何 Go 应用程序均可访问。属性:Col、ColOff、Data、Format、Height、Name,以及另外 3 项。
属性
| 名称 | 类型 | 访问 | 描述 |
|---|---|---|---|
Data | []byte | 读写 | 获取数据。 |
Format | string | 读写 | 获取格式。 |
Row | int | 读写 | 获取该行。 |
Col | int | 读写 | 获取 col。 |
RowOff | int64 | 读写 | 获取行偏移。 |
ColOff | int64 | 读写 | 获取 col 关闭。 |
Width | int | 读写 | 获取宽度。 |
Height | int | 读写 | 获取高度。 |
Name | string | 读写 | 获取名称。 |
方法
| 签名 | 描述 |
|---|---|
SetAnchor(row: int) | SetAnchor 将图片定位在给定的从0开始计数的行和列上。 |