Picture
Picture
Overview
Picture 是Python的Aspose.Cells FOSS中的一个类.
表示一个与细胞挂的工作表图像.
这个类提供了在Python程序中使用图像对象的2种方法. 有的方法包括: __init__, copy. 在安装Python包的Aspose.Cells FOSS后,所有公众成员都可以访问任何 Python 应用程序. 特性: edit_as, hyperlink_url, image_bytes, image_extension, name, no_change_aspect.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | `` | Read | 得到了这个名字. |
image_extension | `` | Read | 得到了图像扩展. |
image_bytes | `` | Read | 得到图像字节. |
hyperlink_url | `` | 阅读/写作 | 图片的点击链接 (<a:hlinkClick>) 的URL. |
edit_as | `` | 阅读/写作 | 编辑模式: ‘两细胞’, ‘一细胞’或’绝对’. |
no_change_aspect | `` | 阅读/写作 | 图片的尺寸比是否锁定 (<a:picLocks noChangeAspect=‘1’/>). |
Methods
| Signature | Description |
|---|---|
__init__(worksheet, image_bytes, image_extension, upper_left_row, upper_left_column, lower_right_row, lower_right_column, name) | |
copy(worksheet) | 将图片复制到给定的工作表上 |