LayoutCollector Methods

The LayoutCollector type exposes the following members.

Methods
  NameDescription
Public methodCode exampleClear
Clears all collected layout data. Call this method after document was manually updated, or layout was rebuilt.
Public methodEquals (Inherited from Object.)
Public methodCode exampleGetEndPageIndex
Gets 1-based index of the page where node ends. Returns 0 if node cannot be mapped to a page.
Public methodCode exampleGetEntity
Returns an opaque position of the LayoutEnumerator which corresponds to the specified node. You can use returned value as an argument to Current given the document being enumerated and the document of the node are the same.
Public methodGetHashCode (Inherited from Object.)
Public methodCode exampleGetNumPagesSpanned
Gets number of pages the specified node spans. 0 if node is within a single page. This is the same as GetEndPageIndex(Node) - GetStartPageIndex(Node).
Public methodCode exampleGetStartPageIndex
Gets 1-based index of the page where node begins. Returns 0 if node cannot be mapped to a page.
Public methodGetType (Inherited from Object.)
Public methodToString (Inherited from Object.)
See Also