PageSetupSetPicture Method

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

Namespace:  Aspose.Cells
Assembly:  Aspose.Cells (in Aspose.Cells.dll) Version: 20.10.0.0 (20.10)
Syntax
public Picture SetPicture(
	bool isFirst,
	bool isEven,
	bool isHeader,
	int section,
	byte[] imageData
)

Parameters

isFirst
Type: SystemBoolean
Indicates whether setting the picture of first page header/footer.
isEven
Type: SystemBoolean
Indicates whether setting the picture of even page header/footer.
isHeader
Type: SystemBoolean
Indicates whether setting the picture of header/footer.
section
Type: SystemInt32

0:Left Section.

1:Center Section

2:Right Section

imageData
Type: SystemByte
Image data.

Return Value

Type: Picture
Returns Picture object.
See Also