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
Best Answer
D
Deleted Agent
said
over 4 years ago
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
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
kai zhang
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
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
Deleted Agent
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