General questions

Answered

Get Recognizer Conent

I am using websocket architecture. 


Can I get the result of DIGITAL_EDIT command in the response of addStrokes message ?

I don't want to draw the svgPatches in the response of addStrokes. I directly want to draw the content of DIGITAL_EDIT.

Is it possible ?


Best Answer

Dear Daoud,


If I understand well, you simply want the recognition result of the ink?


The easier is that you refer to the On-demand exports sample:

-https://myscript.github.io/iinkJS/examples/non-version-specific/on_demand_exports.html

-And the source: https://github.com/MyScript/iinkJS/blob/master/examples/non-version-specific/on_demand_exports.html


In the current case, the export is in JIIX ; if you want to export as Text, you shall set the text/plain mimetype when calling the export_ function: https://myscript.github.io/iinkJS/docs/Editor.html#export_


Let us know if this answers your questions.


Best regards,


Olivier

1 Comment

Answer

Dear Daoud,


If I understand well, you simply want the recognition result of the ink?


The easier is that you refer to the On-demand exports sample:

-https://myscript.github.io/iinkJS/examples/non-version-specific/on_demand_exports.html

-And the source: https://github.com/MyScript/iinkJS/blob/master/examples/non-version-specific/on_demand_exports.html


In the current case, the export is in JIIX ; if you want to export as Text, you shall set the text/plain mimetype when calling the export_ function: https://myscript.github.io/iinkJS/docs/Editor.html#export_


Let us know if this answers your questions.


Best regards,


Olivier


1 person likes this