Class PageHistory

Class PageHistory

Nazwa przestrzeń: Aspose.Note Zgromadzenie: Aspose.Note.dll (25.4.0)

Przedstawia historię strony.

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

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

Dziedziczeni członkowie

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

Constructors

Strona historyczna (Page)

Inicjalizuje nową instancję klasy Aspose.Note.PageHistory.

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

Parameters

page Page

Aktualna wersja strony.

Properties

Count

Otrzymuje liczbę wersji strony w historii strony.

public int Count
   {
      get;
   }

Wartość nieruchomości

int

Current

Dostępna jest aktualna wersja strony.

public Page Current
   {
      get;
   }

Wartość nieruchomości

Page

IsReadOnly

Otrzymuje wartość wskazującą, czy historia strony jest tylko czytana.

public bool IsReadOnly
   {
      get;
   }

Wartość nieruchomości

bool

Tego[wt)

Otrzymuje lub ustawia wersję strony na określonym indeksie Aspose.Note.PageHistory.

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

Wartość nieruchomości

Page

Methods

Dodaj (strona )

Dodaj wersję strony do końca Aspose.Note.PageHistory.

public void Add(Page item)
   {
   }

Parameters

item Page

Wersja strony .

Dodrange (nie liczy się))

Dodaj wersje strony do końca Aspose.Note.PageHistory.

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

Parameters

items IEnumerable • < Page >

System.Collections.Generic.IEnumerable`1 zbiór wersji stron.

jasne )

Wyjaśnij historię strony.

public void Clear()
   {
   }

Zawartość (Page)

Określa, czy historia strony zawiera wersję strony.

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

Parameters

item Page

Wersja strony .

Returns

bool

To jest system. boolean.

Kopiowanie (Page[w tym)

Kopiuj wersje strony do kolejności, począwszy od początku.

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

Parameters

array Page [ ]

Celem jest array.

arrayIndex int

Wskaźnik Array Index.

wskaźnik ()

Powraca numerator, który iteruje za pośrednictwem węzłów dziecięcych Aspose.Note.PageHistory.

public IEnumerator<page> GetEnumerator()
   {
   }

Returns

IEnumerator • < Page >

System. kolekcje i numerator.

Wskaźnik (Page)

Określa indeks określonej wersji strony w historii strony.

public int IndexOf(Page item)
   {
   }

Parameters

item Page

Wersja strony .

Returns

int

Występuje w systemie Int32.

Wprowadzenie (int, Page)

Wprowadź wersję strony do historii strony.

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

Parameters

index int

To jest indeks.

item Page

Wersja strony .

Usunąć (Strona )

Usunąć wersję strony 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

Wersja strony .

Returns

bool

To jest system. boolean.

Usunąć(int)

Usunąć wersję strony w określonym indeksie Aspose.Note.PageHistory.

public void RemoveAt(int index)
   {
   }

Parameters

index int

To jest indeks.

Rozszerzenie (int, int)

Usuwa szereg wersji strony z Aspose.Note.PageHistory.

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

Parameters

index int

To jest indeks.

count int

I liczba .

 Polski