iink SDK on Device

Answered

Inserting Plain Text to Diagram parts

Hi MyScript Team,

My Aim: Inserting a Plain Text to "Diagram" parts.

From my understanding, we can only import JIIX format string to Diagram parts. If that's the case, is there any easy method to convert plain text to JIIX without exporting in "Text Document" parts?


Best Answer

Dear Shi Kang Neoh,


Thank you for your question.


In a Diagram, the only way to add plain text is that you re-create your own JIIX, and add the full information needed.


You can proceed as follows:

-You create a Diagram part

-You write Text

-You convert

-You export as JIIX.


=>You shall then inspire from the "Text" type element to re-create your own one. There is no other way to proceed.


You can then import your custom JIIX with your text element.


Best regards,


Olivier

1 Comment

Answer

Dear Shi Kang Neoh,


Thank you for your question.


In a Diagram, the only way to add plain text is that you re-create your own JIIX, and add the full information needed.


You can proceed as follows:

-You create a Diagram part

-You write Text

-You convert

-You export as JIIX.


=>You shall then inspire from the "Text" type element to re-create your own one. There is no other way to proceed.


You can then import your custom JIIX with your text element.


Best regards,


Olivier