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
780
HTML export margin
posted

Hello,

I'm trying export a text to HTML using xamRichTextEditor. But always there is a paragraph style with margin-bottom: 10pt.

Can I set paragraph 0px for all document by default?

Thanks.

Parents
  • 34510
    Offline posted

    Hi nandoviski,

    The only way I can think of right now is to directly modify the HTML text.  You can export it to a Stream object and then use a StreamReader to get the text out of it.  Then change the margin and save the text to a file.

    I'm checking with the developers to see if there is a way to do this from within the control itself rather than editing the text like that.

Reply Children