PagesEnumerator<T> Class

Enumerator to iterate through available Document Pages.

Definition

Namespace: SMath.Controls
Assembly: SMath.Controls (in SMath.Controls.dll) Version: 1.73.9126.0
C#
public sealed class PagesEnumerator<T> : IEnumerator<DocumentPage>, 
	IDisposable, IEnumerator
where T : IDocumentObject
Inheritance
Object    PagesEnumerator<T>
Implements
IEnumerator<DocumentPage>, IEnumerator, IDisposable

Type Parameters

T

Constructors

Properties

Current Gets the current object.
CurrentIndex Gets the current page index.

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
GetDocumentPage(Int32, Int32) Looks up for the Document Page where cursor Y coordinate can be displayed.
GetDocumentPage(T, Point) Looks up for the Document Page where Object is displayed taking in account cursor location into the Object.
GetDocumentPage(T, Int32) Looks up for the Document Page where Object is displayed.
GetDocumentPageStrict Looks up for the Document Page where Object is displayed taking in account cursor location into the Object.
GetEnumerator Returns enumerator.
GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MoveNext() Advances the enumerator to the next available element of the collection.
MoveNext(IGraphics) Advances the enumerator to the next available element of the collection.
Reset Drops internal counter to initial value. Filtering settings remain untouched.
SetCurrentContext Updates context based on current state of the enumertor.
SetCurrentContextRaw Updates context based on current state of the enumertor.
ToStringReturns a string that represents the current object.
(Inherited from Object)
TryGetPageObjects Returns Objects located on current Document Page.

Explicit Interface Implementations

IDisposable.DisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
IEnumerator.CurrentGets the element in the collection at the current position of the enumerator.
IEnumerator.MoveNextAdvances the enumerator to the next element of the collection.
IEnumerator.ResetSets the enumerator to its initial position, which is before the first element in the collection.
IEnumerator<DocumentPage>.CurrentGets the element in the collection at the current position of the enumerator.

See Also