General questions

Answered

How to insert images, formulas, OCR, etc. in Text Document mode

如何在文本文档模式下插入图像,公式,OCR等

image


Best Answer

Dear 毅鹏,


Currently, if you want to add images in a "Text Document" part, you can use the addImage function: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#addImage-float-float-java.io.File-com.myscript.iink.MimeType-


If you want to import "Text", you can use the "addBlock" function, setting the proper "TEXT" MimeType: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#addBlock-float-float-java.lang.String-com.myscript.iink.MimeType-java.lang.String-


Regarding "OCR", do you mean you would like to add images that contain text and get it recognized? Indeed, this cannot be done by our technology, which is not able to read text from images.


Best regards,


Olivier


1 person has this question

Answer

Dear 毅鹏,


Currently, if you want to add images in a "Text Document" part, you can use the addImage function: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#addImage-float-float-java.io.File-com.myscript.iink.MimeType-


If you want to import "Text", you can use the "addBlock" function, setting the proper "TEXT" MimeType: https://developer.myscript.com/refguides/interactive-ink/android/1.3/com/myscript/iink/Editor.html#addBlock-float-float-java.lang.String-com.myscript.iink.MimeType-java.lang.String-


Regarding "OCR", do you mean you would like to add images that contain text and get it recognized? Indeed, this cannot be done by our technology, which is not able to read text from images.


Best regards,


Olivier


1 person likes this

添加图像,公式等到ios开发

Dear 毅鹏,


Thank you for the update.


But I am not sure to understand it. Is the above answer of help? What do you want to achieve?


Thank you,


Best regards,


Olivier