PageSetup.SetPicture

PageSetup.SetPicture method

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

public Picture SetPicture(bool isFirst, bool isEven, bool isHeader, int section, byte[] imageData)
ParameterTypeDescription
isFirstBooleanIndicates whether setting the picture of first page header/footer.
isEvenBooleanIndicates whether setting the picture of even page header/footer.
isHeaderBooleanIndicates whether setting the picture of header/footer.
sectionInt320: Left Section, 1: Center Section, 2: Right Section.
imageDataByte[]Image data.

Return Value

Returns Picture object.

See Also