Math

How to modify the color of the exported image text。

When identifying the formula, the default color of the text on the exported image is black, how can I change it to another color


How do I set the size of the exported image in math recognition

Dear 刚 陈,

Currently, the color can be changed via the styling: https://developer.myscript.com/docs/interactive-ink/1.5/reference/styling/#math

This can be done as follows: editor.setTheme(".math{color: #0000FFFF};");

You can of course tune the color of the "solved result" or "variable" tuning the corresponding stylesheets:
editor.setTheme(".math-variable{color: #FF0000FF}");
editor.setTheme(".math-solved{color: #00FF00FF};");

Regarding tuning the size of the exported image, our image export is rather limited, and such feature is not available.

Best regards,

Olivier

Login or Signup to post a comment