Aspose::Cells::PageSetup::SetPicture method

PageSetup::SetPicture method

Sets an image in the header/footer of a worksheet.

Aspose::Cells::Drawing::Picture Aspose::Cells::PageSetup::SetPicture(bool isFirst, bool isEven, bool isHeader, int32_t section, const Vector<uint8_t> &imageData)
ParameterTypeDescription
isFirstboolIndicates whether setting the picture of first page header/footer.
isEvenboolIndicates whether setting the picture of even page header/footer.
isHeaderboolIndicates whether setting the picture of header/footer.
sectionint32_t0: Left Section, 1: Center Section, 2: Right Section.
imageDataconst Vector <uint8_t>&Image data.

ReturnValue

Returns Picture object.

See Also