Math

How do I specify the size of the font

I use a MathWidgetApi on android devices,
I want to get to the image is a fixed size,
The following,
/
I don't want to get into the larger image,
The following,
/
How can I set the size of the image

1 Comment

If I understand well your needs, you want the user to write in a area and display the result in a reduced area. To do so, I invite you to try the following api:
void setPaddingRatio(float left, float top, float right, float bottom)
Please refer to the api documentation: http://doc.myscript.com/MyScriptATK_2.1/Android/_/maw/ref/javadoc/index.html

Another similar post about this use case may be of help (for iOS):
https://developer-support.myscript.com/support/discussions/topics/16000007827

Best regards

Login or Signup to post a comment