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)
Parameter Type Description
isFirst Boolean Indicates whether setting the picture of first page header/footer.
isEven Boolean Indicates whether setting the picture of even page header/footer.
isHeader Boolean Indicates whether setting the picture of header/footer.
section Int32 0: Left Section, 1: Center Section, 2: Right Section.
imageData Byte[] Image data.

Return Value

Returns Picture object.

See Also