Show / Hide Table of Contents

Class ExcelBackgroundImage

An image that fills the background of the worksheet.

Inheritance
System.Object
XmlHelper
ExcelBackgroundImage
Inherited Members
XmlHelper.AddSchemaNodeOrder(String[], String[])
XmlHelper.AddSchemaNodeOrder(String[], String[], Int32[])
XmlHelper.GetBoolFromString(String)
XmlHelper.CreatespPrNode(String, Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: OfficeOpenXml
Assembly: EPPlus.dll
Syntax
public class ExcelBackgroundImage : XmlHelper

Properties

Image

The background image of the worksheet. The image will be saved internally as a jpg.

Declaration
public Image Image { get; set; }
Property Value
Type Description
System.Drawing.Image

Methods

SetFromFile(FileInfo)

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

Declaration
public void SetFromFile(FileInfo PictureFile)
Parameters
Type Name Description
System.IO.FileInfo PictureFile

The image file.

Back to top Generated by DocFX