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.
Best regards,
Olivier
刚
刚 陈
said
almost 3 years ago
How do I set the size of the exported image in math recognition
刚 陈
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 Newest FirstOlivier @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
刚 陈
How do I set the size of the exported image in math recognition