ElementCollection

ElementCollection

Overview

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

A live, mutable collection of structure elements held under a parent’s /K array.

This class provides 2 methods for working with ElementCollection objects in .NET programs. Available methods include: GetEnumerator, Remove. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: Count.

Properties

NameTypeAccessDescription
CountintReadNumber of direct children.

Methods

SignatureDescription
GetEnumerator()Iterate the children in tree order.
Remove(item: Element)Remove item from this collection and from the parent’s /K array.

See Also