TextArea to Graphics conversion

So finally where I am with the tests.

I downloaded StyledTextPrinterReplacement Project

To run it on the Windows platform exclude the code in the “Paint” event of “XojoStyledPrinterCanvas” and then it runs fine on 2023r3 on Windows.

The example works fine. It’s not a 5 minute work to have it run in your own project.

could be a good solution but ended up to find a good conversion fom StyledText to HTML. Code found in the forums are not updated and the best is maybe EncodingToHTMLMBS
More about it Convert RTF to HTML
Check out also Converting TextArea styled text (RTF) to Markdown?

I will try to make a simple project and post the link. Hope it’s not too complicated for me :slight_smile:

Do you have a ready snippet code for StyledText to HTML conversion ?