Page 1 of 1

Export to html as text

Posted: Tue Jul 22, 2014 7:44 am
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 ?

Re: Export to html as text

Posted: Tue Jul 22, 2014 10:31 am
by HighAley
Hello.

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

Thank you.

Re: Export to html as text

Posted: Tue Jul 22, 2014 2:46 pm
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.

Re: Export to html as text

Posted: Wed Jul 23, 2014 10:50 am
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.

Re: Export to html as text

Posted: Wed Jul 23, 2014 6:45 pm
by hugo
Yes, you understand correctly.

Thank you very much.

Re: Export to html as text

Posted: Thu Jul 24, 2014 9:52 am
by HighAley
Hello.

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

Thank you.