







![]() ![]() |
EPPlus 3.0 |
ExcelBackgroundImage..::.SetFromFile Method |
ExcelBackgroundImage Class See Also Send Feedback |
Set the picture from an image file.
The image file will be saved as a blob, so make sure Excel supports the image format.
Namespace:
OfficeOpenXml
Assembly:
EPPlus (in EPPlus.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax
C# |
---|
public void SetFromFile( FileInfo PictureFile ) |
Visual Basic (Declaration) |
---|
Public Sub SetFromFile ( _ PictureFile As FileInfo _ ) |
Visual C++ |
---|
public: void SetFromFile( FileInfo^ PictureFile ) |
Parameters
- PictureFile
- Type: System.IO..::.FileInfo
The image file.