BuildingBlock constructor

BuildingBlock(glossary_doc)

Initializes a new instance of this class.

def __init__(self, glossary_doc: aspose.words.buildingblocks.GlossaryDocument):
    ...
ParameterTypeDescription
glossary_docGlossaryDocumentThe owner document.

Remarks

When BuildingBlock is created, it belongs to the specified glossary document, but is not yet part of the glossary document and Node.parent_node is None.

To append BuildingBlock to a GlossaryDocument use CompositeNode.append_child().

See Also