Class PageHistory

Class PageHistory

Pôvodný názov: Aspose.Note Zhromaždenie: Aspose.Note.dll (25.4.0)

Predstavuje históriu stránky.

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

Inheritance

object PageHistory

Implements

IList , ICollection , IEnumerable , IEnumerable

Z dedičných členov

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

Constructors

Stránka História (Page)

Initalizuje novú inštanciu triedy Aspose.Note.PageHistory.

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

Parameters

page Page

Aktuálna verzia stránky.

Properties

Count

Získajte počítanie verzií stránky v histórii stránky.

public int Count
   {
      get;
   }

Hodnota nehnuteľnosti

int

Current

Získajte aktuálnu verziu stránky.

public Page Current
   {
      get;
   }

Hodnota nehnuteľnosti

Page

IsReadOnly

Získava hodnotu, ktorá ukazuje, či sa príbeh stránky číta iba.

public bool IsReadOnly
   {
      get;
   }

Hodnota nehnuteľnosti

bool

Toto[→ →

Získajte alebo nastavíte verziu stránky na špecifikovanom indexe Aspose.Note.PageHistory.

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

Hodnota nehnuteľnosti

Page

Methods

Pridať (stránka )

Pridajte verziu stránky na koniec Aspose.Note.PageHistory.

public void Add(Page item)
   {
   }

Parameters

item Page

Táto verzia stránky.

AddRange (Nevypočítateľné)

Pridáva verziu stránky na koniec Aspose.Note.PageHistory.

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

Parameters

items IEnumerable < Page >

System.Collections.Generic.IEnumerable`1 zbierka verzií stránok.

jasné )

Vyčistite históriu stránky.

public void Clear()
   {
   }

Stránky obsahujúce (Page)

Určuje, či história stránky obsahuje verziu stránky.

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

Parameters

item Page

Táto verzia stránky.

Returns

bool

Systém je boolean.

Kopírovať (stránka[) , int )

Kopírujte verzie stránky do rebríčka, začínajúce na začiatku.

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

Parameters

array Page []

Cieľom je Array.

arrayIndex int

Je to index array.

Číslo číslice ()

Vráti enumerátor, ktorý iteruje cez detské uzly Aspose.Note.PageHistory.

public IEnumerator<page> GetEnumerator()
   {
   }

Returns

IEnumerator < Page >

Systém. kolekcie a IENUMERATOR

IndexOf (stránka)

Určuje index konkrétnej verzie stránky v histórii stránky.

public int IndexOf(Page item)
   {
   }

Parameters

item Page

Táto verzia stránky.

Returns

int

Spoločnosť Int32.

Inštalácia (int, Page)

Vložte verziu stránky do histórie stránky.

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

Parameters

index int

To je index.

item Page

Táto verzia stránky.

Odstrániť (stránka )

Odstrániť verziu 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

Táto verzia stránky.

Returns

bool

Systém je boolean.

Odstránenie (int)

Odstráni verziu stránky na špecifikovanom indexe Aspose.Note.PageHistory.

public void RemoveAt(int index)
   {
   }

Parameters

index int

To je index.

OdstrániťRange(int, int)

Odstráni rad verzií stránky z Aspose.Note.PageHistory.

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

Parameters

index int

To je index.

count int

To je počítanie.

 Slovenčina