set_embedded_object method
Contents
[
Hide
]set_embedded_object
Sets embedded object data.
def set_embedded_object(self, link_to_file, object_data, source_file_name, display_as_icon, label):
...
Parameter | Type | Description |
---|---|---|
link_to_file | bool | Indicates whether the object links to the file. If true, the parameter objectData is ignored. |
object_data | bytes | The embedded object data. |
source_file_name | str | The file name. |
display_as_icon | bool | Indicates whether diplaying object as an icon. If true, the orginal image data will be covered by icon. |
label | str | The icon label. Only works when displayAsIcon as true. |
set_embedded_object
Sets embedded object data.
def set_embedded_object(self, link_to_file, object_data, source_file_name, display_as_icon, label, update_icon):
...
Parameter | Type | Description |
---|---|---|
link_to_file | bool | Indicates whether the object links to the file. If true, the parameter objectData is ignored. |
object_data | bytes | The embedded object data. |
source_file_name | str | The file name. |
display_as_icon | bool | Indicates whether diplaying object as an icon. If true, the orginal image data will be covered by icon. |
label | str | The icon label. Only works when displayAsIcon as true. |
update_icon | bool | Indicates whether automatically updating icon. |
Remarks
As Aspose can update embedd all file icons, so it’s better that you can add correct icon with update_icon
as false.
See Also
- module
aspose.cells.drawing
- class
OleObject