GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    BlockCollection Class

    Namespace:
    GemBox.Document
    Assembly:
    GemBox.Document.dll

    Represents a collection of a Block derived elements.

    • C#
    • VB.NET
    public sealed class BlockCollection : ElementCollection<Block>, IList, ICollection, IList<Block>, ICollection<Block>, IEnumerable<Block>, IEnumerable
    Public NotInheritable Class BlockCollection
        Inherits ElementCollection(Of Block)
        Implements IList, ICollection, IList(Of Block), ICollection(Of Block), IEnumerable(Of Block), IEnumerable
    Inheritance:
    System.Object
    ElementCollection
    ElementCollection<Block>
    BlockCollection
    Implements
    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IList<Block>
    System.Collections.Generic.ICollection<Block>
    System.Collections.Generic.IEnumerable<Block>
    System.Collections.IEnumerable
    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, Entries supports only Paragraph elements; Blocks and Blocks support Paragraph and Table elements; and Blocks supports all Block derived elements.

    Supported element types can be retrieved through SupportedElementTypes property.

    For more information, see GemBox.Document Content Model.

    Inherited Properties

    Content

    Gets the content of the current ElementCollection.

    (Inherited from ElementCollection)

    SupportedElementTypes

    Gets a sequence of ElementTypes that can be contained in this collection.

    (Inherited from ElementCollection)

    Inherited Methods

    CopyTo(Element[], System.Int32)

    Copies the elements of the ElementCollection to an System.Array, starting at a particular System.Array index.

    (Inherited from ElementCollection)

    IndexOf(Element)

    Determines the index of a specific Element in the ElementCollection.

    (Inherited from ElementCollection)

    Implements

    System.Collections.IList
    System.Collections.ICollection
    System.Collections.Generic.IList<T>
    System.Collections.Generic.ICollection<T>
    System.Collections.Generic.IEnumerable<T>
    System.Collections.IEnumerable
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.