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

صفحة التاريخ (صفحة )

يبدأ حالة جديدة من فئة 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

نسخة الصفحة .

الإشارة (Ineumerable))

إضافة إصدارات الصفحة إلى نهاية Aspose.Note.PageHistory.

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

Parameters

items IEnumerable &lt؛ Page >

The 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

النظام - بوليان

نسخة ( صفحة )[] ، إنت)

نسخ إصدارات الصفحة إلى سلسلة، بدءا من البداية.

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

Parameters

array Page [ ]

الهدف هو الترتيب.

arrayIndex int

إشارة إلى Array Index.

إحصائيات ()

إرجاع المجلد الذي يترك من خلال عقدة الأطفال من Aspose.Note.PageHistory.

public IEnumerator<page> GetEnumerator()
   {
   }

Returns

IEnumerator &lt؛ Page >

النظام.المجموعات.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

النظام - بوليان

إزالة ( إلخ )

إزالة نسخة الصفحة في المؤشر المحدد من Aspose.Note.PageHistory.

public void RemoveAt(int index)
   {
   }

Parameters

index int

من المؤشر .

إلغاء الحجم (int, int)

إزالة مجموعة من إصدارات الصفحة من Aspose.Note.PageHistory.

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

Parameters

index int

من المؤشر .

count int

في الحساب .

 عربي