Class IndentatedNode
名称: Aspose.Note 集合: Aspose.Note.dll (25.4.0)
基类为节点,对儿童节的相对折扣。
public class IndentatedNode<T> : CompositeNode<T>, INode, ICompositeNode<T>, ICompositeNode, IEnumerable<T>, IEnumerable, IIndentatedNode where T : INode
{
private readonly List<T> _children;
public IndentatedNode()
{
_children = new List<T>();
}
public void AddChild(T child)
{
_children.Add(child);
}
}
类型参数
T
组合节点中的元素类型。
Inheritance
object
←
Node
←
CompositeNodeBase
←
CompositeNode
Implements
INode
,
ICompositeNode
继承人
CompositeNode
Constructors
IndentatedNode(分类)
启动 Aspose.Note.IndentatedNode`1 类的新例子。
protected IndentatedNode(NodeType nodeType)
{
base.NodeType = nodeType;
}
Parameters
nodeType
NodeType
节点的类型。
Properties
IndentPosition
接收或设置内置位置。
public byte IndentPosition
{
get;
set;
}