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
this[int]
Returns the drawing at the specified position.
public ExcelDrawing this[int PositionID] { get; }
Parameters
PositionID
intThe position of the drawing. 0-base
Property Value
this[string]
Returns the drawing matching the specified name
public ExcelDrawing this[string Name] { get; }
Parameters
Name
stringThe name of the worksheet
Property Value
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
ExcelDrawingThe drawing to remove