Text

Answered

add multiple blocks

i want add to add multiple blocks like math,diagram in text document

what should be provide location or Cgpoint to add block one down to another blocks

let Editor = editorViewController.editor

             do

 {

                try   Editor?.addBlock(CGPoint(x: 0, y: 0), type: "Diagram")

    

        catch

 {

 print(error.localizedDescription)

 }


Best Answer

Dear Ganesh,


this is on iOS coding issue. Please refer to the above links that explain how you can proceed on iOS. It it not an iink issue: https://stackoverflow.com/questions/1561521/turn-off-zooming-in-uiscrollview


Best regards,


Olivier


Dear Ganesh,


you can refer to the following post, that explains how you shall compute the height to add the block at the proper location: https://developer-support.myscript.com/support/discussions/topics/16000027123


Best regards,


Olivier


1 person likes this

how to make   editor view non zoomable

in the text document when i add multiple blocks ,then i want to make the editor non zoomable 

i dont want to add pan and pinch gesture

Dear Ganesh,


Currently, I am not sur to understand.


Indeed, some of the above link explain how  to enable/disable zoom on iOS.


If this doesn't answer your expectation, please provide a video that helps understand.


Best regards,


Olivier

this is my text document  page and do not want to zoom in or zoom outimage


Answer

Dear Ganesh,


this is on iOS coding issue. Please refer to the above links that explain how you can proceed on iOS. It it not an iink issue: https://stackoverflow.com/questions/1561521/turn-off-zooming-in-uiscrollview


Best regards,


Olivier