---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/GraphicElementCollection
---

# GraphicElementCollection

## Overview

`GraphicElementCollection` is a class in Aspose.PDF FOSS for .NET.
Inherits from: `IEnumerable`.

Mutable collection of GraphicElement entries.

This class provides 8 methods for working with GraphicElementCollection objects in .NET programs.
Available methods include: `Add`, `Clear`, `Contains`, `CopyTo`, `GetEnumerator`, `GraphicElementCollection`, `Remove`, `ToString`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Count`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Count` | `int` | Read | Gets the count. |

## Methods

| Signature | Description |
|-----------|-------------|
| `GraphicElementCollection()` | Calls GraphicElementCollection on this GraphicElementCollection instance. |
| `Add(item: GraphicElement)` | Calls Add on this GraphicElementCollection instance. |
| `Clear()` | Calls Clear on this GraphicElementCollection instance. |
| `Contains(item: GraphicElement)` | Calls Contains on this GraphicElementCollection instance. |
| `CopyTo(array: GraphicElement[], arrayIndex: int)` | Calls CopyTo on this GraphicElementCollection instance. |
| `Remove(item: GraphicElement)` | Calls Remove on this GraphicElementCollection instance. |
| `GetEnumerator()` | Calls GetEnumerator on this GraphicElementCollection instance. |
| `ToString()` | Calls ToString on this GraphicElementCollection instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)