Class IndentatedNode
Nama dari : Aspose.Note Perhitungan: Aspose.Note.dll (25.4.0)
Kelas dasar untuk nodus dengan indentasi relatif untuk anak-anak.
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);
}
}
Jenis Parameter
T
Jenis elemen dalam nod komposit.
Inheritance
object
←
Node
←
CompositeNodeBase
←
CompositeNode
Implements
INode
,
ICompositeNode
anggota yang diwarisi
CompositeNode
Constructors
IndentatedNode (Tipe Node)
Inicialisasi instansi baru dari Aspose.Note.IndentatedNode`1 kelas.
protected IndentatedNode(NodeType nodeType)
{
base.NodeType = nodeType;
}
Parameters
nodeType
NodeType
Jenis dari nod.
Properties
IndentPosition
Mendapatkan atau menetapkan posisi indent.
public byte IndentPosition
{
get;
set;
}