UiPath Documentation
activities
latest
false
Document Understanding activities

Document Class

Document class, representing a digitized document in the DocumentProcessing.Contracts DOM.

Document is a public class that represents a digitized document.

Definition​

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

Description​

A public class that represents a digitized document.

Members​

Constructors​

Document() - Initializes a new instance of the Document class with no arguments.

Methods​

  • Deserialize(string jsonString) - A static method that returns a new instance of the Document class containing the information serialized in the input string.
  • Serialize() - Returns a string with the serialized contents of the Document object.

Properties​

  • ContentType String - The content type of the file. The supported values are: application/pdf, image/png, image/jpeg, image/gif.
  • DocumentId String - The name of the document file.
  • DocumentMetadata List<UiPath.DocumentProcessing.Contracts.Dom.Metadata> - Provides information about the class from various objects.
  • Length Int - The text length of the file, expressed as an integer.
  • Pages (Page[]) - The list of pages in the document file.
  • Definition​
  • Description​
  • Members​
  • Constructors​
  • Methods​
  • Properties​

Was this page helpful?

Connect

Need help? Support

Want to learn? UiPath Academy

Have questions? UiPath Forum

Stay updated