Class Node
Namespace: Aspose.Note
Assembly: Aspose.Note.dll (25.4.0)
The base class for all nodes of an Aspose.Note document.
public abstract class Node : INode
Inheritance
Derived
AttachedFile , CompositeNodeBase , InkNode , Loop , RichText
Implements
Inherited Members
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
Node(NodeType)
Initializes a new instance of the Aspose.Note.Node class.
protected Node(NodeType nodeType)
Parameters
nodeType
NodeType
The type of the node.
Properties
Document
Gets the document of the node.
public Document Document { get; }
Property Value
IsComposite
Gets a value indicating whether this node is composite. If true the node can have child nodes.
public virtual bool IsComposite { get; }
Property Value
NextSibling
Gets the next node at the same node tree level.
public INode NextSibling { get; }
Property Value
NodeType
Gets the node type.
public NodeType NodeType { get; }
Property Value
ParentNode
Gets the parent node.
public ICompositeNode ParentNode { get; }
Property Value
PreviousSibling
Gets the previous node at the same node tree level.
public INode PreviousSibling { get; }
Property Value
Methods
Accept(DocumentVisitor)
Accepts the visitor of the node.
public abstract void Accept(DocumentVisitor visitor)
Parameters
visitor
DocumentVisitor
The object of a class derived from the Aspose.Note.DocumentVisitor.