Inline
Overview
Inline is a class in Aspose.Words FOSS for .NET.
Inherits from: Node, IInline, ITrackableNode.
Base class for inline-level nodes that can have character formatting associated with them, but cannot have child nodes of their own.
This class provides 10 methods for working with Inline objects in .NET programs.
Available methods include: Accept, Clone, GetAncestor, GetAncestorOf, GetText, NextPreOrder, NodeTypeToString, PreviousPreOrder, Remove, ToString.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: CustomNodeId, Document, Font, IsComposite, IsDeleteRevision, IsFormatRevision, and 9 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
ParentParagraph | Paragraph | Read | Retrieves the parent Paragraph of this node. |
Font | Font | Read | Provides access to the font formatting of this object. |
IsInsertRevision | bool | Read | Gets the is insert revision. |
IsDeleteRevision | bool | Read | Gets the is delete revision. |
IsMoveFromRevision | bool | Read | Gets the is move from revision. |
IsMoveToRevision | bool | Read | Gets the is move to revision. |
IsFormatRevision | bool | Read | Gets the is format revision. |
NodeType | NodeType | Read | Gets the type of this node. |
ParentNode | CompositeNode | Read | Gets the immediate parent of this node. |
Document | DocumentBase | Read | Gets the document to which this node belongs. |
PreviousSibling | Node | Read | Gets the node immediately preceding this node. |
NextSibling | Node | Read | Gets the node immediately following this node. |
IsComposite | bool | Read | Returns true if this node can contain other nodes. |
Range | Range | Read | Returns a Range object that represents the portion of a document that is contained in this node. |
CustomNodeId | int | Read/Write | Specifies custom node identifier. |
Methods
| Signature | Description |
|---|---|
Clone(isCloneChildren: bool) | You should use the Clone(bool, INodeCloningListener) overload when the node cloning is a part of another (usually composite) node cloning process. |
Accept(visitor: DocumentVisitor) | Calls Accept(visitor) on this Inline instance. |
GetText() | Gets the text of this node and of all its children. |
GetAncestor(ancestorType: Type) | Gets the first ancestor of the specified object type. |
GetAncestorOf() | Calls GetAncestorOf on this Inline instance. |
Remove() | Removes itself from the parent. |
NextPreOrder(rootNode: Node) | Gets next node according to the pre-order tree traversal algorithm. |
PreviousPreOrder(rootNode: Node) | Gets the previous node according to the pre-order tree traversal algorithm. |
ToString(saveFormat: SaveFormat) | Exports the content of the node into a string in the specified format. |
NodeTypeToString(nodeType: NodeType) | A utility method that converts a node type enum value into a user friendly string. |