Picture

Overview

Picture is a class in Aspose.Cells FOSS for Python.

Represents a worksheet picture anchored to cells.

Properties

NameTypeAccessDescription
name``ReadGets or sets the picture’s name
image_extension``ReadGets the file extension of the picture’s image format
image_bytes``ReadGets the raw binary data of the picture
hyperlink_url``ReadURL for the picture’s click hyperlink (<a:hlinkClick>).
edit_as``ReadAnchor editAs mode: ’twoCell’, ‘oneCell’, or ‘absolute’.
no_change_aspect``ReadWhether the picture’s aspect ratio is locked (<a:picLocks noChangeAspect=‘1’/>).

Methods

SignatureDescription
__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

See Also