GraphicElementCollection

GraphicElementCollection

Overview

GraphicElementCollection is a class in Aspose.PDF FOSS for .NET. Inherits from: IEnumerable<GraphicElement>.

Mutable collection of GraphicElement entries.

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

Properties

NameTypeAccessDescription
CountintReadGets the number of elements in the collection.

Methods

SignatureDescription
GraphicElementCollection()Creates an empty collection.
Add(item: GraphicElement)Add an element.
Clear()Removes all elements from the collection; the pages they came from are not changed.
Contains(item: GraphicElement)Returns true when the collection holds the given element.
CopyTo(array: GraphicElement[], arrayIndex: int)Copies the elements into array, starting at the zero-based arrayIndex.
Remove(item: GraphicElement)Removes the given element from the collection and returns true if it was found; the source page is not changed (use GraphicElement.Remove for that).
GetEnumerator()Calls GetEnumerator on this GraphicElementCollection instance.
ToString()Calls ToString on this GraphicElementCollection instance.

See Also

 English