InsertPicture Method (Image, PictureAlignment)

Office Open XML

Inserts a picture at the end of the text in the header or footer

Namespace:  OfficeOpenXml
Assembly:  EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)

Syntax

C#
public ExcelVmlDrawingPicture InsertPicture(
	Image Picture,
	PictureAlignment Alignment
)
Visual Basic (Declaration)
Public Function InsertPicture ( _
	Picture As Image, _
	Alignment As PictureAlignment _
) As ExcelVmlDrawingPicture
Visual C++
public:
ExcelVmlDrawingPicture^ InsertPicture(
	Image^ Picture, 
	PictureAlignment Alignment
)

Parameters

Picture
Type: System.Drawing..::.Image
The image object containing the Picture
Alignment
Type: OfficeOpenXml..::.PictureAlignment
Alignment. The image object will be inserted at the end of the Text.

Return Value

[Missing <returns> documentation for "M:OfficeOpenXml.ExcelHeaderFooterText.InsertPicture(System.Drawing.Image,OfficeOpenXml.PictureAlignment)"]

See Also