AddPicture Method (String, FileInfo)

Office Open XML

Add a picure to the worksheet

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

Syntax

C#
public ExcelPicture AddPicture(
	string Name,
	FileInfo ImageFile
)
Visual Basic (Declaration)
Public Function AddPicture ( _
	Name As String, _
	ImageFile As FileInfo _
) As ExcelPicture
Visual C++
public:
ExcelPicture^ AddPicture(
	String^ Name, 
	FileInfo^ ImageFile
)

Parameters

Name
Type: System..::.String

[Missing <param name="Name"/> documentation for "M:OfficeOpenXml.Drawing.ExcelDrawings.AddPicture(System.String,System.IO.FileInfo)"]

ImageFile
Type: System.IO..::.FileInfo
The image file

Return Value

[Missing <returns> documentation for "M:OfficeOpenXml.Drawing.ExcelDrawings.AddPicture(System.String,System.IO.FileInfo)"]

See Also