UiPath Documentation
activities
latest
false
Document Understanding activities

ResultsDocumentBounds Class

ResultsDocumentBounds class, representing document boundaries including page count and text length for extraction results.

Definition

  • Namespace: UiPath.DocumentProcessing.Contracts.Results
  • Assembly: UiPath.DocumentProcessing.Contracts

Description

A public class that represents the document boundaries for a reported extraction or classification result.

Members

Constructors

  • ResultsDocumentBounds(int pageCount, int textLength) - Initializes a new instance of the ResultsDocumentBounds class, setting StartPage = 0, TextStartIndex = 0, and PageCount and TextLength according to the provided input arguments.
    • pageCount (Int32) - The number of pages within the document boundaries.
    • textLength (Int32) - The text length of the content within the document boundaries.
    Warning:

    This constructor is obsolete.

  • ResultsDocumentBounds(int startPage, int pageCount, int textStartIndex, int textLength) - Initializes a new instance of the ResultsDocumentBounds class, setting all properties according to the provided input arguments.
    • startPage (Int32) - The 0-based index of the first page within the document boundaries.
    • textStartIndex (Int32) - The text position where, from an entire file, the StartPage starts.
    • pageCount, textLength - Same as above.
    Warning:

    This constructor is obsolete.

  • ResultsDocumentBounds(int startPage, int pageCount, int textStartIndex, int textLength, string pageRange) - Initializes a new instance of the ResultsDocumentBounds class, setting all properties, including the page range, according to the provided input arguments.
    • pageRange (String) - The page range within the document boundaries.
    • startPage, pageCount, textStartIndex, textLength - Same as above.
    Warning:

    This constructor is obsolete.

  • ResultsDocumentBounds(string pageRange, int pageCount) - Initializes a new instance of the ResultsDocumentBounds class from a page range and page count.
    • pageRange, pageCount - Same as above.

Properties

  • PageCount int - The number of pages within the document boundaries.
  • PageRange string - The page range within the document boundaries.
  • StartPage int - The 0-based index of the first page within the document boundaries.
    Warning:

    This property is obsolete. Use PageRange instead.

  • TextLength int - The text length of the content found in the page range defined by PageCount and StartPage.
    Warning:

    This property is obsolete. Use PageRange instead.

  • TextStartIndex int - The text position where, from an entire file, the StartPage starts.
    Warning:

    This property is obsolete. Use PageRange instead.

  • Definition
  • Description
  • Members
  • Constructors
  • Properties

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated