Free Support Forum -

Is there a possibility to get the output as partial HTML/SVG string in .NET?

We would like to place the viewer output into a div NOT into an iframe!

Is there a possibility to get the viewer output as a partial HTML/SVG string without html and body tag? And we prefer not to save the output as a file but to get it as string or stream.


We’re investigating this scenario with ID VIEWERNET-2703. You’ll be notified about the outcomes.

Please have a look at this documentation article.


As far as ticket VIEWERNET-2703 is concerned, please note that currently API doesn’t provide such a feature. But you can use a bit of custom logic that will give you the body and head contents which then you can put into a div. Please check (952 Bytes) code example that takes and prints the body contents. Let us know if it helps.