Skip to main content

Document Class

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>) - A static method that returns a new instance of the Document class containing the information serialized in the input string.
  • Serialize() String - 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 UiPath.DocumentProcessing.Contracts.Dom.Page - The list of pages in the document file.