Initializes a new instance of the SmartTag class.
[Visual Basic]Public Sub New( _
ByVal
doc As
Document _
)
Parameters
- doc
- The owner document.
Remarks
When you create a new node, you need to specify a document to which the node belongs. A node cannot existing without a document because it depends on the document-wide structures such as lists and styles. Although a node always belongs to a document, a node might or might not be a part of the document tree.
When a node is created, it belongs to a document, but is not yet part of the document tree and ParentNode is null. To insert a node into the document, use the InsertAfter or InsertBefore methods on the parent node.
See Also
SmartTag Class | Aspose.Words.Markup Namespace