[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.BuildingBlockCollection

BuildingBlockCollection Class

Represents a collection of building blocks.

Inheritance
BuildingBlockCollection
Namespace: GrapeCity.Documents.Word
Assembly: GcDocs.Word.dll
Syntax
public class BuildingBlockCollection : IContentList<BuildingBlock>, IReadOnlyList<BuildingBlock>, IReadOnlyCollection<BuildingBlock>, IEnumerable<BuildingBlock>, IEnumerable

Properties

Name Description
Count

Gets the number of building blocks in the collection.

First

Gets the first buildin block in the collection.

this[int]

Gets the building block at the specified index in the collection.

Last

Gets the last building block in the collection.

Methods

Name Description
Add(string, string, BuildingBlockGallery, BuildingBlockInsertOptions, BuildingBlockType)

Adds a new building block into the collection.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Remove(BuildingBlock)

Removes the specified building block from the collection.