Class PageHistory

Class PageHistory

Název místa: Aspose.Note Shromáždění: Aspose.Note.dll (25.4.0)

Představuje historii stránky.

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

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

Dědiční členové

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

Constructors

Stránka Historie (Page)

Začíná nový příklad třídy Aspose.Note.PageHistory.

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

Parameters

page Page

Aktuální verze stránky.

Properties

Count

Obdrží počítání verzí stránek v historii stránek.

public int Count
   {
      get;
   }

Hodnota nemovitosti

int

Current

Obdržíte aktuální verzi stránky.

public Page Current
   {
      get;
   }

Hodnota nemovitosti

Page

IsReadOnly

Obdrží hodnotu, která naznačuje, zda se historie stránky čte pouze.

public bool IsReadOnly
   {
      get;
   }

Hodnota nemovitosti

bool

Tohle[vnitřní

Získáte nebo nastavíte verzi stránky na specifikovaném indexu Aspose.Note.PageHistory.

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

Hodnota nemovitosti

Page

Methods

Přidat ( Stránka )

Přidejte verzi stránky na konec Aspose.Note.PageHistory.

public void Add(Page item)
   {
   }

Parameters

item Page

Zobrazit verzi stránky.

Příslušenství (Ineumerable)

Přidává verzi stránky na konec Aspose.Note.PageHistory.

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

Parameters

items IEnumerable < Page >

System.Collections.Generic.IEnumerable`1 sbírka verzí stránek.

jasné )

Vyčistěte historii stránky.

public void Clear()
   {
   }

Obsah ( Stránka )

Určuje, zda historie stránky obsahuje verzi stránky.

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

Parameters

item Page

Zobrazit verzi stránky.

Returns

bool

Systém je Boolean.

Kopírování (Page[a to v)

Kopírujte verze stránek do řádku, počínaje na začátku.

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

Parameters

array Page []a[]

Cílem je Array.

arrayIndex int

A to je array index.

Zobrazit číslice()

Vrátí výpisník, který iteruje prostřednictvím dětských uzlin Aspose.Note.PageHistory.

public IEnumerator<page> GetEnumerator()
   {
   }

Returns

IEnumerator < Page >

Systém. kolekce a číslice.

IndexOf (stránka)

Určuje index konkrétní verze stránky v historii stránky.

public int IndexOf(Page item)
   {
   }

Parameters

item Page

Zobrazit verzi stránky.

Returns

int

Vlastní systém.Int32.

Vložení (int, Page)

Vložte verzi stránky do historie stránky.

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

Parameters

index int

To je index.

item Page

Zobrazit verzi stránky.

Odstranit ( Stránka )

Odstraňuje verzi stránky z 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

Zobrazit verzi stránky.

Returns

bool

Systém je Boolean.

Odstranění (int)

Odstraňuje verzi stránky na specifikovaném indexu Aspose.Note.PageHistory.

public void RemoveAt(int index)
   {
   }

Parameters

index int

To je index.

OdstranitRange(int, int)

Odstraňuje řadu verzí stránek z Aspose.Note.PageHistory.

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

Parameters

index int

To je index.

count int

Na počítán.

 Čeština