Class Node

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

object Node

Derived

AttachedFile , CompositeNodeBase , InkNode , Loop , RichText

Implements

INode

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

Document

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

bool

NextSibling

Gets the next node at the same node tree level.

public INode NextSibling { get; }

Property Value

INode

NodeType

Gets the node type.

public NodeType NodeType { get; }

Property Value

NodeType

ParentNode

Gets the parent node.

public ICompositeNode ParentNode { get; }

Property Value

ICompositeNode

PreviousSibling

Gets the previous node at the same node tree level.

public INode PreviousSibling { get; }

Property Value

INode

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.

 English