Show / Hide Table of Contents

Class ExcelCellPicture

Represents an in-cell picture

Inheritance
object
ExcelErrorValue
RichDataReferenceValueError
ExcelCellPicture
Implements
IEqualityComparer<ExcelErrorValue>
Inherited Members
RichDataReferenceValueError.ReferenceType
ExcelErrorValue.Create(eErrorType)
ExcelErrorValue.CreateRichDataError(eErrorType)
ExcelErrorValue.AsCompileResult
ExcelErrorValue.Parse(string)
ExcelErrorValue.Type
ExcelErrorValue.ToString()
ExcelErrorValue.Equals(object)
ExcelErrorValue.GetHashCode()
ExcelErrorValue.Equals(ExcelErrorValue, ExcelErrorValue)
ExcelErrorValue.GetHashCode(ExcelErrorValue)
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: OfficeOpenXml.CellPictures
Assembly: EPPlus.dll
Syntax
public class ExcelCellPicture : RichDataReferenceValueError, IEqualityComparer<ExcelErrorValue>

Properties

AltText

Alt text of the image

Declaration
public string AltText { get; set; }
Property Value
Type Description
string

CellAddress

Address of the cell picture

Declaration
public ExcelAddress CellAddress { get; }
Property Value
Type Description
ExcelAddress

ExternalAddress

External Uri, only set for images retrieved via the IMAGE function

Declaration
public Uri ExternalAddress { get; }
Property Value
Type Description
Uri

FileName

Name of the image file including file extension

Declaration
public string FileName { get; }
Property Value
Type Description
string

PictureType

Type of cell picture

Declaration
public ExcelCellPictureTypes PictureType { get; }
Property Value
Type Description
ExcelCellPictureTypes

Methods

GetImage()

Returns the ExcelImage with information abount the image file.

Declaration
public ExcelImage GetImage()
Returns
Type Description
ExcelImage

The ExcelImage object.

Exceptions
Type Condition
InvalidDataException

GetImageBytes()

The bytes of the image file

Declaration
public byte[] GetImageBytes()
Returns
Type Description
byte[]

Implements

IEqualityComparer<T>
In this article
Back to top Generated by DocFX