Class PageHistory

Class PageHistory

名称: Aspose.Note 集合: Aspose.Note.dll (25.4.0)

代表页面历史。

public class PageHistory : IList<Page>, ICollection<Page>, IEnumerable<Page>, IEnumerable
{
}

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

继承人

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

Constructors

首頁(Page)

启动 Aspose.Note.PageHistory 类的新例子。

public PageHistory(Aspose.Words.Document.Page page)
   {
   }

Parameters

page Page

目前的页面版本。

Properties

Count

在页面历史中获取页面的版本的数量。

public int Count
   {
      get;
   }

财产价值

int

Current

获取当前页面版本。

public Page Current
   {
      get;
   }

财产价值

Page

IsReadOnly

收到一个值,表明页面历史是否仅被阅读。

public bool IsReadOnly
   {
      get;
   }

财产价值

bool

这个[因特)

获取或将页面版本设置到 Aspose.Note.PageHistory 的指数。

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

财产价值

Page

Methods

添加(页面)

将页面版本添加到 Aspose.Note.PageHistory 的结尾。

public void Add(Page item)
   {
   }

Parameters

item Page

页面版本。

AddRange(无数))

将页面版本添加到 Aspose.Note.PageHistory 的结尾。

public void AddRange(IEnumerable<Page> items)
   {
   }

Parameters

items IEnumerable < Page >

System.Collections.Generic.IEnumerable`1 页面版本的集合。

清晰( )

清理页面历史。

public void Clear()
   {
   }

内容(页面)

确定页面历史是否包含页面的版本。

public bool Contains(Page item)
{
    foreach (var page in _pages)
    {
        if (page == item)
            return true;
    }
    return false;
}

Parameters

item Page

页面版本。

Returns

bool

这个系统,Boolean。

编辑(页面)[) , int )

将页面版本复制到一个序列,从头开始。

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

Parameters

array Page ( )

目标是拉里。

arrayIndex int

Array 指数。

编号( )

返回通过 Aspose.Note.PageHistory的儿童节点的列表器。

public IEnumerator<page> GetEnumerator()
   {
   }

Returns

IEnumerator < Page >

此分類上一篇: System.Collections.IEnumerator

IndexOf(页面)

在页面历史中确定特定页面的索引。

public int IndexOf(Page item)
   {
   }

Parameters

item Page

页面版本。

Returns

int

此分類上一篇: Int32

插入(int, Page)

将页面的版本插入页面历史。

public void Insert(int index, Page item)
   {
   }

Parameters

index int

这个指数。

item Page

页面版本。

删除(页面)

从 Aspose.Note.PageHistory 中删除页面版本。

public bool Remove(Page item)
{
}
In this case, no changes were made as the input is already well-formatted according to C# conventions.

Parameters

item Page

页面版本。

Returns

bool

这个系统,Boolean。

取消(int)

在 Aspose.Note.PageHistory 指定的索引中删除页面版本。

public void RemoveAt(int index)
   {
   }

Parameters

index int

这个指数。

RemoveRange(int、int)

从 Aspose.Note.PageHistory 中删除一系列页面版本。

public void RemoveRange(int index, int count)
   {
   }

Parameters

index int

这个指数。

count int

这个数字。

 中文