Class ExcelBackgroundImage
- Namespace
- OfficeOpenXml
- Assembly
- EPPlus.dll
An image that fills the background of the worksheet.
public class ExcelBackgroundImage : XmlHelper
- Inheritance
-
ExcelBackgroundImage
- Inherited Members
Properties
Image
The background image of the worksheet. Note that images of type .svg, .ico and .webp is not supported as background images.
public ExcelImage Image { get; }
Property Value
Methods
Remove()
Removes the background image.
public void Remove()
SetFromFile(FileInfo)
Set the picture from an image file.
public void SetFromFile(FileInfo PictureFile)
Parameters
PictureFileFileInfoThe image file. Files of type .svg, .ico and .webp is not supported for background images
SetFromFile(string)
Set the picture from an image file.
public void SetFromFile(string PictureFilePath)
Parameters
PictureFilePathstringThe path to the image file. Files of type .svg, .ico and .webp is not supported for background images