Table of Contents

Class ExcelDrawingsGroup

Namespace
OfficeOpenXml.Drawing
Assembly
EPPlus.dll

A collection of child drawings to a group drawing

public class ExcelDrawingsGroup : IEnumerable<ExcelDrawing>, IEnumerable, IDisposable
Inheritance
ExcelDrawingsGroup
Implements
Inherited Members

Properties

Count

Number of items in the collection

public int Count { get; }

Property Value

int

this[int]

Returns the drawing at the specified position.

public ExcelDrawing this[int PositionID] { get; }

Parameters

PositionID int

The position of the drawing. 0-base

Property Value

ExcelDrawing

this[string]

Returns the drawing matching the specified name

public ExcelDrawing this[string Name] { get; }

Parameters

Name string

The name of the worksheet

Property Value

ExcelDrawing

Methods

Add(ExcelDrawing)

Adds a drawing to the group

public void Add(ExcelDrawing drawing)

Parameters

drawing ExcelDrawing

Clear()

Removes all children drawings from the group.

public void Clear()

Dispose()

Disposes the class

public void Dispose()

GetEnumerator()

Gets the enumerator for the collection

public IEnumerator<ExcelDrawing> GetEnumerator()

Returns

IEnumerator<ExcelDrawing>

The enumerator

Remove(ExcelDrawing)

Removes the ExcelDrawing from the group

public void Remove(ExcelDrawing drawing)

Parameters

drawing ExcelDrawing

The drawing to remove