AddLink
SpreadsheetAttachmentCollection.AddLink method
通过链接添加附件(文档将不包含附件内容)。
public void AddLink(string sourceFullName, byte[] previewImageContent, double x, double y,
double width, double height)
| 范围 | 类型 | 描述 |
|---|---|---|
| sourceFullName | String | 链接文件路径。 |
| previewImageContent | Byte[] | 作为字节数组的附加文件预览图像。 |
| x | Double | 附件框架的 x 坐标(以磅为单位)。 |
| y | Double | 附件框架的 y 坐标(以磅为单位)。 |
| width | Double | 附件框架的宽度(以磅为单位)。 |
| height | Double | 附件框架的高度(以磅为单位)。 |