Class XpsElement
Class XpsElement
Namespace: Aspose.Page.XPS.XpsModel
Assembly: Aspose.Page.dll (25.1.2)
Lớp bao encapsulates các tính năng của phần tử XPS chung.
public abstract class XpsElement : XpsObject, IEnumerable<xpscontentelement>, IEnumerable
Kế thừa
object ← XpsObject ← XpsElement
Kế thừa từ
Triển khai
IEnumerable<xpscontentelement>, IEnumerable
Thành viên kế thừa
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Thuộc tính
Count
Trả về số lượng phần tử con.
public int Count { get; }
Giá trị thuộc tính
this[int]
Cung cấp quyền truy cập vào các phần tử con theo chỉ số i
.
public XpsContentElement this[int i] { get; }
Giá trị thuộc tính
Phương thức
GetEnumerator()
Triển khai giao diện System.Collections.Generic.IEnumerable`1.
public IEnumerator<xpscontentelement> GetEnumerator()
Trả về
IEnumerator<XpsContentElement>
Trả về bộ đếm cho danh sách.