iink SDK on Device

Answered

Difference between zoom and setViewScale

Hi,

What is the difference between zoom and setviewscale?

I am zooming an editor, then typing, and then making the editor small. Now the text after reducing the editor size is coming on different lines. 

Instead I want that the size of the text becomes smaller and remains on the same line.

Piyush



Best Answer

Dear Piujsh,


you can refer to the following documentation: https://developer.myscript.com/docs/interactive-ink/1.2/android/fundamentals/zooming-and-scrolling/#zooming


You can also change the viewScale when creating a part, and see the effects compared to zoom.


Best regards,


Olivier

1 Comment

Answer

Dear Piujsh,


you can refer to the following documentation: https://developer.myscript.com/docs/interactive-ink/1.2/android/fundamentals/zooming-and-scrolling/#zooming


You can also change the viewScale when creating a part, and see the effects compared to zoom.


Best regards,


Olivier