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.
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.
刚 陈
When identifying the formula, the default color of the text on the exported image is black, how can I change it to another color
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
- Oldest First
- Popular
- Newest First
Sorted by Popular刚 陈
How do I set the size of the exported image in math recognition
Olivier @MyScript
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