Images

Vue de l’ensemble

‘Picture’ est une classe dans Aspose.Cells FOSS pour Python.

Il représente une image de feuille d’œuvre annexée à des cellules.

Cette classe fournit 2 méthodes pour travailler avec des objets de la photo dans les programmes Python. Les méthodologies disponibles comprennent: __init__, copy. Tous les membres publics sont accessibles à n’importe quelle application Pythone après l’installation du pack Aspose.Cell FOSS pour le package Pyathon. Propriétés: ’edit_as’, ‘hyperlink_url , 'image_bytes ; ’ image_extension; 'name et ’no_change_aspect’.

Propriétés

NameTypeAccessDescription
name``ReadGets the name.
image_extension``ReadGets the image extension.
image_bytes``ReadGets the image bytes.
hyperlink_url``Read/WriteURL for the picture’s click hyperlink (<a:hlinkClick>).
edit_as``Read/WriteAnchor editAs mode: ’twoCell’, ‘oneCell’, or ‘absolute’.
no_change_aspect``Read/WriteWhether the picture’s aspect ratio is locked (<a:picLocks noChangeAspect=‘1’/>).

méthodes

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

Voir aussi

  • Aspose.Cells pour Python — Enterprise API Reference
 Français