I’m trying to produce a file, contained in resources, that can be added to a text run.
When I include a bog standard text file the formatting is wrong… I have searched the internet but there is no real help.
i.e… endofline isn’t “0x10” as it is in ascii, I can’t write a help file to display… Tabs and LF and CR are all printed as an unprintable characters. I’ve tried XML but I can’t use this as a textrun.
This works but there is no formatting ie… no tabs, no end of line, no carriage return etc…
I want to know how to format the text… I’m creating a help page
From the docs it looks like there is a class you add between TextRun’s to demonstrate that there should be a new line, and one for a new paragraph. I don’t believe that many Windows controls render the tab character.
You may need to try creating a new object from TextEmbeddedClass that implements a leading space.