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):
    ...
ParameterTypeDescription
is_firstboolIndicates whether setting the picture of first page header/footer.
is_evenboolIndicates whether setting the picture of even page header/footer.
is_headerboolIndicates whether setting the picture of header/footer.
sectionint0: Left Section, 1: Center Section, 2: Right Section.
image_databytesImage data.

See Also