What information does the DocumentBounds property store within the ClassificationResults class?
DocumentBounds
ClassificationResults
The DocumentBounds property of the ClassificationResult class is of type ResultsDocumentBounds, which represents the page and text range that a classification result pertains to. This class exposes four properties: StartPage (a 0-based index marking the first page within the document boundaries), PageCount (the number of pages spanned by the boundaries), TextStartIndex (a 0-based index marking where, in the full document's text, the StartPage begins), and TextLength (the length of the text content found within that page range). Together these four properties pinpoint the exact page and character range of the classified document segment.
ClassificationResult
ResultsDocumentBounds
StartPage
PageCount
TextStartIndex
TextLength
Community Discussion