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
Implements
IList
Dědiční členové
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Constructors
PageHistory(Page)
Začíná nový příklad třídy Aspose.Note.PageHistory.
public PageHistory(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
Current
Obdržíte aktuální verzi stránky.
public Page Current { get; }
Hodnota nemovitosti
IsReadOnly
Obdrží hodnotu, která naznačuje, zda se historie stránky čte pouze.
public bool IsReadOnly { get; }
Hodnota nemovitosti
Tohle[Int]
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
Methods
Add(Page)
Přidejte verzi stránky na konec Aspose.Note.PageHistory.
public void Add(Page item)
Parameters
item
Page
Zobrazit verzi stránky.
AddRange(Číslo > Stránka>)
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.
Clear()
Vyčistěte historii stránky.
public void Clear()
Contains(Page)
Určuje, zda historie stránky obsahuje verzi stránky.
public bool Contains(Page item)
Parameters
item
Page
Zobrazit verzi stránky.
Returns
Systém je Boolean.
CopyTo(Page[]a[], a int)
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.
GetEnumerator()
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(Page)
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
Vlastní systém.Int32.
Insert(Stránka , 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.
Remove(Page)
Odstraňuje verzi stránky z Aspose.Note.PageHistory.
public bool Remove(Page item)
Parameters
item
Page
Zobrazit verzi stránky.
Returns
Systém je Boolean.
RemoveAt(Int)
Odstraňuje verzi stránky na specifikovaném indexu Aspose.Note.PageHistory.
public void RemoveAt(int index)
Parameters
index
int
To je index.
RemoveRange(a 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.