UiPath Activities

The UiPath Activities Guide

PrettyBoxConverter Class

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

Description

A public class that controls the JSON serialization and deserialization of Box objects, by overriding the WriteJson, ReadJson and CanConvert methods of the Newtonsoft.Json.JsonConverter class.

Members

Methods

  • WriteJson(Newtonsoft.Json.JsonWriter writer, object value, Newtonsoft.Json.JsonSerializer serializer) - A method that serializes a Box object to a float array of 4 values: Top, Left, Width and Height. These 4 values are properties of the value.
  • ReadJson(Newtonsoft.Json.JsonReader reader, System.Type objectType, object existingValue, Newtonsoft.Json.JsonSerializer serializer) - A method that deserializes a Box object representation from a float array of 4 values to a Box object.
  • CanConvert(System.Type objectType) - A method that returns true if the objectType is Box.

Updated 10 months ago


PrettyBoxConverter Class


Suggested Edits are limited on API Reference Pages

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