Class PageHistory

Class PageHistory

Tên không gian: Aspose.Note Tổng hợp: Aspose.Note.dll (25.4.0)

đại diện cho lịch sử trang.

public class PageHistory : IList<page>, ICollection<page>, IEnumerable<page>, IEnumerable

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

Thành viên thừa kế

object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()

Constructors

PageHistory(Page)

Bắt đầu một trường hợp mới của lớp Aspose.Note.PageHistory.

public PageHistory(Page page)

Parameters

page Page

Phiên bản trang hiện tại.

Properties

Count

Nhận số lượng các phiên bản trang trong lịch sử trang.

public int Count { get; }

Giá trị bất động sản

int

Current

Nhận phiên bản trang hiện tại.

public Page Current { get; }

Giá trị bất động sản

Page

IsReadOnly

Nhận một giá trị cho thấy liệu lịch sử trang chỉ được đọc hay không.

public bool IsReadOnly { get; }

Giá trị bất động sản

bool

cái này[int]

Nhận hoặc đặt phiên bản trang trên chỉ số cụ thể của Aspose.Note.PageHistory.

public Page this[int index] { get; set; }

Giá trị bất động sản

Page

Methods

Add(Page)

Thêm phiên bản trang vào cuối của Aspose.Note.PageHistory.

public void Add(Page item)

Parameters

item Page

Phiên bản trang.

AddRange(Trang chủ > Page>)

Thêm các phiên bản trang vào cuối của Aspose.Note.PageHistory.

public void AddRange(IEnumerable<page> items)

Parameters

items IEnumerable < Page >

The System.Collections.Generic.IEnumerable`1 bộ sưu tập các phiên bản trang.

Clear()

Khóa lịch sử trang.

public void Clear()

Contains(Page)

Nó xác định liệu lịch sử trang có chứa phiên bản trang hay không.

public bool Contains(Page item)

Parameters

item Page

Phiên bản trang.

Returns

bool

Hệ thống - Boolean

CopyTo(Page[ ], int)

Sao chép các phiên bản trang vào một chuỗi, bắt đầu từ đầu.

public void CopyTo(Page[] array, int arrayIndex)

Parameters

array Page [ ]

Mục tiêu Array

arrayIndex int

Chỉ số Array Index

GetEnumerator()

Quay lại một con số mà iterate thông qua các nút trẻ em của Aspose.Note.PageHistory.

public IEnumerator<page> GetEnumerator()

Returns

IEnumerator < Page >

Hệ thống. bộ sưu tập. IEnumerator

IndexOf(Page)

Nó xác định chỉ số của một phiên bản trang cụ thể trong lịch sử trang.

public int IndexOf(Page item)

Parameters

item Page

Phiên bản trang.

Returns

int

Hệ thống.Int32.

Insert(Trang, Trang)

Nhập một phiên bản trang vào lịch sử trang.

public void Insert(int index, Page item)

Parameters

index int

Chỉ số .

item Page

Phiên bản trang.

Remove(Page)

Xóa phiên bản trang từ Aspose.Note.PageHistory.

public bool Remove(Page item)

Parameters

item Page

Phiên bản trang.

Returns

bool

Hệ thống - Boolean

RemoveAt(int)

Xóa phiên bản trang ở chỉ mục cụ thể của Aspose.Note.PageHistory.

public void RemoveAt(int index)

Parameters

index int

Chỉ số .

RemoveRange(int, int)

Xóa một loạt các phiên bản trang từ Aspose.Note.PageHistory.

public void RemoveRange(int index, int count)

Parameters

index int

Chỉ số .

count int

Tính số .

 Tiếng Việt