Represents a collection of a Block derived elements.
Inheritance Hierarchy
GemBox.Document ElementCollection
GemBox.Document ElementCollection Block
GemBox.Document BlockCollection
Namespace: GemBox.Document
Assembly: GemBox.Document (in GemBox.Document.dll) Version: 21.3.30.1113
Syntax
public sealed class BlockCollection : ElementCollection<Block>
Remarks
Although BlockCollection is a strongly typed collection of a Block derived elements, not all Block derived elements are supported in every BlockCollection.
For example, TableOfEntries.Entries supports only Paragraph elements; TableCell.Blocks and HeaderFooter.Blocks support Paragraph and Table elements; and Section.Blocks supports all Block derived elements.
Supported element types can be retrieved through SupportedElementTypes property.
For more information, see GemBox.Document Content Model.
See Also