Show / Hide Table of Contents

Class ExcelDrawingsGroup

A collection of child drawings to a group drawing

Inheritance
object
ExcelDrawingsGroup
Implements
IEnumerable<ExcelDrawing>
IEnumerable
IDisposable
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: OfficeOpenXml.Drawing
Assembly: EPPlus.dll
Syntax
public class ExcelDrawingsGroup : IEnumerable<ExcelDrawing>, IEnumerable, IDisposable

Properties

Count

Number of items in the collection

Declaration
public int Count { get; }
Property Value
Type Description
int

this[int]

Returns the drawing at the specified position.

Declaration
public ExcelDrawing this[int PositionID] { get; }
Parameters
Type Name Description
int PositionID

The position of the drawing. 0-base

Property Value
Type Description
ExcelDrawing

this[string]

Returns the drawing matching the specified name

Declaration
public ExcelDrawing this[string Name] { get; }
Parameters
Type Name Description
string Name

The name of the worksheet

Property Value
Type Description
ExcelDrawing

Methods

Add(ExcelDrawing)

Adds a drawing to the group

Declaration
public void Add(ExcelDrawing drawing)
Parameters
Type Name Description
ExcelDrawing drawing

Clear()

Removes all children drawings from the group.

Declaration
public void Clear()

Dispose()

Disposes the class

Declaration
public void Dispose()

GetEnumerator()

Gets the enumerator for the collection

Declaration
public IEnumerator<ExcelDrawing> GetEnumerator()
Returns
Type Description
IEnumerator<ExcelDrawing>

The enumerator

Remove(ExcelDrawing)

Removes the ExcelDrawing from the group

Declaration
public void Remove(ExcelDrawing drawing)
Parameters
Type Name Description
ExcelDrawing drawing

The drawing to remove

Implements

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