Export to html as text

Stimulsoft Reports.Flex discussion
Locked
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Export to html as text

Post by hugo »

Hello,

Currently Stimulsoft Fx support to export to HTML thru bytearray. There is any method to export as text (html) so I can show in a web control without save first ?
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to html as text

Post by HighAley »

Hello.

Sorry, maybe we don't understand your question. Could you describe your problem more detailed?

Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to html as text

Post by hugo »

Hello,

No problem.

The Stimulsoft Fx exports to html gives me a bytearray that I can than save to a physical file.
My intention is that I can export to html (the source code of html / text) instead of a byte.

My goal is to use this html to show internally of the application (AIR application) without need to save in the disk and open again.
Vladimir
Posts: 1462
Joined: Fri Apr 13, 2007 4:05 am
Location: Earth

Re: Export to html as text

Post by Vladimir »

Hello Hugo,

If we understand correctly, you can use the following method:

Code: Select all

var html: String = StiTypeConverter.byteArrayToString(byteArrayBuf);
Thank you.
hugo
Posts: 359
Joined: Fri Mar 08, 2013 10:46 am

Re: Export to html as text

Post by hugo »

Yes, you understand correctly.

Thank you very much.
HighAley
Posts: 8431
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Export to html as text

Post by HighAley »

Hello.

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Locked