Method FromJson
FromJson(string)
Deserializes the specified JSON string into a PageElement instance.
public static PageElement FromJson(string jsonString)
Parameters
jsonString
stringA JSON-formatted string that represents a PageElement, including its text elements, layout metadata, and page dimensions.
Returns
- PageElement
A PageElement object populated with data from the JSON.
Exceptions
- JsonException
Thrown if the JSON is invalid or cannot be mapped to a PageElement.