General questions

Answered

how to use pencil, Intelligent eraser tool on web page without canvas and convert to pdf

Hello

 

Greetings for the day

 

Subject: how to use pencil, Intelligent eraser tool on web page without canvas and convert to pdf

 

We need to use pencil tool normal web page without canvas but it is only work with canvas web page see this screenshot(http://prntscr.com/1q9xodn) so could you please let me know if any idea how to use pencil tool without canvas and also how to convert this page to pdf.

Would you please help us to solve out this problem.

 

Thanks. 


Best Answer

Dear Sam,

Thank you for your questions.

To answer these:
1-First, are you using the REST or the webSocket API?
If using the REST API, then you can refer to our "no ui" sample:
-https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/no_ui.html
-And the corresponding source: https://myscript.github.io/iinkJS/examples/v4/rest/no_ui.html

If using the webSocket API, you shall customize by yourself the iinkJS, in particular the renderer. You can find information in the documentation: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/advanced-usage/
The source of the iinkJS is available on github: https://github.com/MyScript/iinkJS

2-We do not have an export to pdf available. You can find the list of available exports: https://developer.myscript.com/docs/interactive-ink/1.4/overview/import-and-export-formats/#available-exports
Then, for example after exporting to image, you can convert it to pdf by yourself.

Best regards,

Olivier

1 Comment

Answer

Dear Sam,

Thank you for your questions.

To answer these:
1-First, are you using the REST or the webSocket API?
If using the REST API, then you can refer to our "no ui" sample:
-https://github.com/MyScript/iinkJS/blob/master/examples/v4/rest/no_ui.html
-And the corresponding source: https://myscript.github.io/iinkJS/examples/v4/rest/no_ui.html

If using the webSocket API, you shall customize by yourself the iinkJS, in particular the renderer. You can find information in the documentation: https://developer.myscript.com/docs/interactive-ink/1.4/web/iinkjs/advanced-usage/
The source of the iinkJS is available on github: https://github.com/MyScript/iinkJS

2-We do not have an export to pdf available. You can find the list of available exports: https://developer.myscript.com/docs/interactive-ink/1.4/overview/import-and-export-formats/#available-exports
Then, for example after exporting to image, you can convert it to pdf by yourself.

Best regards,

Olivier