Document Solutions for Word
GrapeCity.Documents.Word Assembly / GrapeCity.Documents.Word Namespace / BuildingBlockCollection Class / Add(String,String,BuildingBlockGallery,BuildingBlockInsertOptions,BuildingBlockType) Method
The building block name.
The building block category.
The building block gallery.
The building block insert options.
The building block type.

In This Topic
    Add(String,String,BuildingBlockGallery,BuildingBlockInsertOptions,BuildingBlockType) Method
    In This Topic
    Adds a new building block into the collection.
    Syntax
    'Declaration
     
    Public Function Add( _
       ByVal name As System.String, _
       ByVal category As System.String, _
       Optional ByVal gallery As BuildingBlockGallery, _
       Optional ByVal insertOptions As BuildingBlockInsertOptions, _
       Optional ByVal type As BuildingBlockType _
    ) As BuildingBlock
    public BuildingBlock Add( 
       System.string name,
       System.string category,
       BuildingBlockGallery gallery,
       BuildingBlockInsertOptions insertOptions,
       BuildingBlockType type
    )

    Parameters

    name
    The building block name.
    category
    The building block category.
    gallery
    The building block gallery.
    insertOptions
    The building block insert options.
    type
    The building block type.

    Return Value

    A newyly added BuildingBlock.
    See Also