iink SDK on Device

Answered

Adding empty pages to a Text Document

Our application has extra layers of data on top of the iink layer. We implemented scrolling so that we synchronize the scrolling of the iink layer and the extra layers.

We would like to be able to draw on the other layers at scroll positions that are further down than the default length of the iink document and be able to extend the iink document to match the length of the other layers.

So we would like to know if there is a way to extend the length of a Text Document without writing "placeholder" text on it.

Thank you!


Best Answer

Dear Nicolas,


thank you for contacting us.


Currently, you can try to use the setViewOffset function, but it will not allow you to scroll to "unexisting pages", i.e. further than the existing document: https://developer-support.myscript.com/support/discussions/topics/16000028407


It doesn't look like we have a solution for your use-case.


Best regards,


Olivier

1 Comment

Answer

Dear Nicolas,


thank you for contacting us.


Currently, you can try to use the setViewOffset function, but it will not allow you to scroll to "unexisting pages", i.e. further than the existing document: https://developer-support.myscript.com/support/discussions/topics/16000028407


It doesn't look like we have a solution for your use-case.


Best regards,


Olivier