RichText component, not show when render/generate

Stimulsoft Reports.NET discussion
Post Reply
commit.sim
Posts: 10
Joined: Thu Jan 19, 2023 10:01 am

RichText component, not show when render/generate

Post 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
Attachments
StiDemoNetCore.zip
(8.69 KiB) Downloaded 60 times
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: RichText component, not show when render/generate

Post by Lech Kulikowski »

Hello,

The RichText component is not supported in the Net Core.

Thank you.
commit.sim
Posts: 10
Joined: Thu Jan 19, 2023 10:01 am

Re: RichText component, not show when render/generate

Post 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?
Lech Kulikowski
Posts: 6237
Joined: Tue Mar 20, 2018 5:34 am

Re: RichText component, not show when render/generate

Post 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.
commit.sim
Posts: 10
Joined: Thu Jan 19, 2023 10:01 am

Re: RichText component, not show when render/generate

Post by commit.sim »

Thanks a lot for the support.
Max Shamanov
Posts: 786
Joined: Tue Sep 07, 2021 10:11 am

Re: RichText component, not show when render/generate

Post by Max Shamanov »

Hello,

You are Welcome!
Post Reply