Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+
Box

LayoutIterator Members

Navigates the layout tree and provides access to individual elements.

Constructors

Name Description
LayoutIterator(DocumentLayout, DocumentRange) Initializes a new instance of the LayoutIterator class to navigate in the specified document range.
LayoutIterator(DocumentLayout, SubDocument, FixedRange) Initializes a new instance of the LayoutIterator class to navigate in the specified document range.
LayoutIterator(DocumentLayout) Initializes a new instance of the LayoutIterator class for the specified document layout.

Properties

Name Description
Current Obtains a layout element to which the iterator has moved.
IsEnd Gets whether the iterator has reached the end of the range available for navigation with the current iterator.
IsLayoutValid Gets whether the document layout tree on which the iterator navigates is valid.
IsStart Gets whether the iterator has reached the start of the range available for navigation with the current iterator.

Methods

Name Description
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MoveNext() Navigates to the next layout element in the layout tree.
MoveNext(LayoutLevel, Boolean) Navigates to the next layout element of the specified level in the layout tree and allows staying within the same branch.
MoveNext(LayoutLevel) Navigates to the next layout element of the specified level in the layout tree.
MovePrevious() Navigates to the previous layout element in the layout tree.
MovePrevious(LayoutLevel, Boolean) Navigates to the next layout element of the specified level in the layout tree and allows staying within the same branch.
MovePrevious(LayoutLevel) Navigates to the previous layout element of the specified level in the layout tree.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
Reset() Rewinds the iterator to its initial position.
Reset(InitialState) Sets the iterator to specified initial position.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also