UiPath Activities

The UiPath Activities Guide

Document Class

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


A public class that represents a digitized document.



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


  • Deserialize(string) serializedDOM - 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.


  • ContentType string - The content type of the file. The supported values are: application/pdf, image/png, image/jpeg, image/tiff, image/bmp, image/gif, text/plain, application/json.
  • DocumentID string - The name of the document file.
  • 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.

Updated 11 months ago

Document Class

Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.