C# Class OfficeOpenXml.ExcelBackgroundImage

An image that fills the background of the worksheet.
Inheritance: XmlHelper
Show file Open project: ylatuya/EPPlus

Public Methods

Method Description
SetFromFile ( FileInfo PictureFile ) : void

Set the picture from an image file. The image file will be saved as a blob, so make sure Excel supports the image format.

Private Methods

Method Description
DeletePrevImage ( ) : void
ExcelBackgroundImage ( XmlNamespaceManager nsm, XmlNode topNode, OfficeOpenXml.ExcelWorksheet workSheet ) : System

Method Details

SetFromFile() public method

Set the picture from an image file. The image file will be saved as a blob, so make sure Excel supports the image format.
public SetFromFile ( FileInfo PictureFile ) : void
PictureFile System.IO.FileInfo The image file.
return void