MyScript iink SDK makes it easy to get started. This page helps you set up a development environment, get a certificate and play with provided example applications.

Setting up a development environment

To develop with iink SDK for Windows, you will need:

Example applications

MyScript iink SDK comes with example applications illustrating how to use key APIs:

The code is available on GitHub for both UWP and WPF.

A custom compilation step will download the minimal set of recognition assets required for the example to run. More assets (e.g. to support other recognition languages) can be downloaded from MyScript Developer Portal.

A reference implementation for the platform-specific integration layer can be found alongside the examples. It covers aspects such as rendering that the low-level iink SDK does not provide out-of-the-box for flexibility and portability reasons.

The source code of both the examples and the reference implementation is released under the Apache 2.0 license. You can reuse it into your own projects without any particular restriction.

Getting a certificate

A certificate is a binary “key” provided by MyScript that is required to enable iink SDK in an application:

More details on certificates and license management can be found in the dedicated support section.

Developer Portal certificates are specifically generated for each app identifier. You cannot directly reuse the certificate inside your own application.

The certificate comes embedded in a source file that you should include in your project:

Playing with the Demo and Get started examples

To run them, just follow the following instructions:

Step 1: Clone the MyScript Git repository containing the examples for Windows and navigate to the root of the folder.

For the Universal Windows Platform (UWP), type:

git clone https://github.com/MyScript/interactive-ink-examples-uwp.git
cd interactive-ink-examples-uwp

For “traditional” Windows desktop .NET development using WPF, type:

git clone https://github.com/MyScript/interactive-ink-examples-wpf.git
cd interactive-ink-examples-wpf

Step 2: Replace MyCertificate.cs file in GetStarted directory with your certificate.

Step 3: Open the appropriate solution file:

Set GetStarted or Demo project as your startup project by right-clicking the project in the solution browser and selecting “Set as startup project”.

Step 4: Build and run.

This will automatically fetch the latest iink SDK libraries, via the NuGet Package Manager.

Building your first interactive ink application

To guide you through the fundamentals of iink SDK, this documentation explains some key concepts and provides you with code portions that are relevant for a simple iink SDK integration.

The guide consists of the following steps:

  1. Interactive Ink runtime
  2. Storage
  3. Rendering
  4. Tool controller
  5. Editing
  6. Block and selection
  7. Conversion
  8. Import and export
  9. Zooming and scrolling
  10. Styling
  11. Error management
While introducing the different concepts one-by-one in a logical manner, this guide is written in a way that allows you to refer to a particular aspect at any time, even if you don’t strictly follow the intended order.

Ready? Let’s start!