Start a new topic
iink SDK on Device
I can't insert images, I can't copy and paste, I can't set a background for the drawing area,what should I do?
Dear User,
currently, in order to add an image, you shall ensure you are in a "Text Document" part: https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#block-management
You can then use the "AddImage" function: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#addImage-float-float-java.io.File-com.myscript.iink.MimeType-
If you want to copy/pase, ensure you use the proper API functions:
-Copy: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#copy-com.myscript.iink.ContentBlock-
-Paste: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#paste-float-float-
You can also refer to the "Operations with blocks" part of the documentation (an image is considered as a block): https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#operations-with-blocks
Best regards,
Olivier
1464796145
I can't insert images, I can't copy and paste, I can't set a background for the drawing area,what should I do?
Dear User,
currently, in order to add an image, you shall ensure you are in a "Text Document" part: https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#block-management
You can then use the "AddImage" function: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#addImage-float-float-java.io.File-com.myscript.iink.MimeType-
If you want to copy/pase, ensure you use the proper API functions:
-Copy: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#copy-com.myscript.iink.ContentBlock-
-Paste: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#paste-float-float-
You can also refer to the "Operations with blocks" part of the documentation (an image is considered as a block): https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#operations-with-blocks
Best regards,
Olivier
Olivier @MyScript
Dear User,
currently, in order to add an image, you shall ensure you are in a "Text Document" part: https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#block-management
You can then use the "AddImage" function: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#addImage-float-float-java.io.File-com.myscript.iink.MimeType-
If you want to copy/pase, ensure you use the proper API functions:
-Copy: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#copy-com.myscript.iink.ContentBlock-
-Paste: https://developer.myscript.com/refguides/interactive-ink/android/1.4/com/myscript/iink/Editor.html#paste-float-float-
You can also refer to the "Operations with blocks" part of the documentation (an image is considered as a block): https://developer.myscript.com/docs/interactive-ink/1.4/android/fundamentals/editing/#operations-with-blocks
Best regards,
Olivier
1 person likes this