Interactive Ink

How do I lay out one content block alongside one another in a text document

now i can do it like this -->image


 how can i do it like this -->image


Dear Sir,


currently, using the addBlock function, you should be able to set the x and y coordinates: https://developer.myscript.com/refguides/interactive-ink/android/1.2/com/myscript/iink/Editor.html#addBlock-float-float-java.lang.String-


If there is enough space for the second block aside, you should be able to add it.


Best regards,


Olivier


1 person likes this

hello,Olivier:

thanks for your last help.Now i have another question of how i can change the width of block when i add new block,because the new block will fill the whole row when i add it from left side of canvas and  there is not enough space for adding new block after it. 

image

                                                                  add new block from left side

image

                                                                                                                                                         new block fill the whole role

Best regards


Dear Sir,


thank you for the update.


Currently, you cannot set the width of a block. Indeed, it will be re-sized automatically as long it is updated.


Best regards,


Olivier

Login or Signup to post a comment