set_picture method
set_picture
Sets an image in the header/footer of a worksheet.
Returns
Returns Picture
object.
def set_picture(self, is_first, is_even, is_header, section, image_data):
...
Parameter | Type | Description |
---|---|---|
is_first | bool | Indicates whether setting the picture of first page header/footer. |
is_even | bool | Indicates whether setting the picture of even page header/footer. |
is_header | bool | Indicates whether setting the picture of header/footer. |
section | int | 0: Left Section, 1: Center Section, 2: Right Section. |
image_data | bytes | Image data. |
See Also
- module
aspose.cells
- class
PageSetup
- class
Picture