MyScript iink SDK lets you consistently interact with different types of content via a unified API. This page lists supported content types and outlines the potential specificities of each of them.
MyScript iink SDK currently supports the following content types:
"Text"
) - Simple block of multi-line text (including possible line breaks), responsive reflow. It shows guides by default but these can be
deactivated (for instance when processing ink from an outside source that is not aligned on the guides)."Math"
) - Block supporting one or more equation."Diagram"
) - Block supporting a diagram, with automatic text/non-text distinction and dynamic reorganization possibilities.Text Document ("Text Document"
) - Container hosting an ordered collection of text, math, diagram, raw content and drawing blocks.
It is a vertical, dynamic and responsive stream of structured content.
Raw Content ("Raw Content"
) - Block hosting digital ink with no explicit segmentation into text, math, shape or other items which semantics is known by iink SDK.
In addition it can contain images and placeholder blocks.
Raw content is analyzed by MyScript iink SDK to classify ink to identify the content types before relying on the correct recognition engine. Depending on the classification configuration, MyScript iink SDK can distinguish text or shapes blocks from drawing blocks. If classification types is empty, the analysis process is reduced, allowing to use Raw Content for optimized drawing.
Raw Content is therefore very flexible and allows specific behaviors depending on its configuration, making it the key to implementing various use cases:
For an overview of what is possible with Raw Content, refer to the interactive features page. In addition the configuration reference page lists what you may tune and the configuration section how to easily do it.
The string value provided between brackets is case-sensitive and identifies the type in the model in an unambiguous way.
For a wider presentation of all types of content that MyScript technology can recognize, along with possible use cases, refer to the detailed presentation in the Concepts section of this documentation.