Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
645
Font info is lost using ultraFormattedTextWordWriter.Export
posted

Hi,

I am using the following code to output the content of a  UltraFormattedTextEditor control to a word document:

  Me.ultraFormattedTextWordWriter1.Export(Me.SummaryUltraFormattedTextEditor, docWriter) where docwriter is a WordDocumentWriter.

I have set the appearance (font) of the texteditor to be Arial, and it shows as Arial in the texteditor, but when exported the font in the control is ignored.

When I examine the string that is being exported it contains markup tags as expected but no any all-enclosing tag that defines the for instance the font.

Here is the string being exported in a test sample: "Some arial text entered<br/>a new line of text<br/><br/>and another one<br/>".

How can I export and spesifying the font using the ultraFormattedTextWordWriter?

Parents Reply Children
No Data