Click or drag to resize
ElementGetChildElements Method (Boolean, ElementType)
Gets the child elements filtered by ElementType.

Namespace:  GemBox.Document
Assembly:  GemBox.Document (in GemBox.Document.dll) Version: 25.3.30.1243
Syntax
public IEnumerable<Element> GetChildElements(
	bool recursively,
	params ElementType[] filterElements
)

Parameters

recursively
Type: SystemBoolean
to get all descendants elements; otherwise to get just child elements.
filterElements
Type: GemBox.DocumentElementType
The ElementTypes to filter by.

Return Value

Type: IEnumerableElement
Sequence of child elements filtered by ElementType.
See Also