WorksheetHeaderFooter.AddPicture(Image, HeaderFooterSection) Method
Adds a picture to the worksheet header or footer.
Namespace: DevExpress.Spreadsheet
Assembly: DevExpress.Spreadsheet.v18.2.Core.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
image | Image | A Image object representing the picture to be added. |
section | HeaderFooterSection | One of the HeaderFooterSection enumeration values indicating the header or footer section where the picture should be located. |
Returns
Type | Description |
---|---|
HeaderFooterPicture | A HeaderFooterPicture object that is the added picture. |
Remarks
This method can be applied to any of the WorksheetHeaderFooter instances, accessible through the WorksheetHeaderFooterOptions.OddHeader, WorksheetHeaderFooterOptions.OddFooter, WorksheetHeaderFooterOptions.FirstHeader,WorksheetHeaderFooterOptions.FirstFooter, WorksheetHeaderFooterOptions.EvenHeader and WorksheetHeaderFooterOptions.EvenFooter properties. All of them are available through the Worksheet.HeaderFooterOptions property.