Page 1 of 1

RichText component, not show when render/generate

Posted: Tue Apr 18, 2023 3:07 pm
by commit.sim
Hi all.

I have a problem about rich text and export pdf, using net core.

The design, preview and direct export of my report.mrt, come out correct.

When export from my .net api controller, the richtexts are hidden.

If it helps, tryng to export using option ExportRtfTextAsImage = true, message appears: "richtext component not available in netcore".

It is possible to use this component in net core, right?
I don't understand, if I have to import other packages, or if I'm doing something wrong.

I have prepared and attached test report and solution, for replicate a problem.

Thanks in advance.

PREVIEW:
Image

PDF RESULT:
Image

Re: RichText component, not show when render/generate

Posted: Tue Apr 18, 2023 9:25 pm
by Lech Kulikowski
Hello,

The RichText component is not supported in the Net Core.

Thank you.

Re: RichText component, not show when render/generate

Posted: Wed Apr 19, 2023 7:17 am
by commit.sim
Thanks for you replay.

Oh no ;(

This is a problem for me. I wouldn't want to convert the web app to net standard.


In a text box component, i cant format partial text inside...

Which "work around" i can adopt, for render not plain text like a document?

Re: RichText component, not show when render/generate

Posted: Wed Apr 19, 2023 11:46 am
by Lech Kulikowski
Hello,

You can use the HTML tags instead of the RichText:
https://www.stimulsoft.com/en/documenta ... l_tags.htm

Thank you.

Re: RichText component, not show when render/generate

Posted: Wed Apr 19, 2023 12:18 pm
by commit.sim
Thanks a lot for the support.

Re: RichText component, not show when render/generate

Posted: Wed Apr 19, 2023 1:13 pm
by Max Shamanov
Hello,

You are Welcome!