Picture
Overview
Picture is a class in Aspose.Cells FOSS for Python.
Represents a worksheet picture anchored to cells.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
name | `` | Read | Gets or sets the picture’s name |
image_extension | `` | Read | Gets the file extension of the picture’s image format |
image_bytes | `` | Read | Gets the raw binary data of the picture |
hyperlink_url | `` | Read | URL for the picture’s click hyperlink (<a:hlinkClick>). |
edit_as | `` | Read | Anchor editAs mode: ’twoCell’, ‘oneCell’, or ‘absolute’. |
no_change_aspect | `` | Read | Whether the picture’s aspect ratio is locked (<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) | Copies the picture to the given worksheet |