Free Support Forum -

Convert docx to stream and render it on UI


With the newer version GroupDocs.Viewer 3.5 we are trying to convert document to stream and render it to UI. We do not want to save file anywhere on local and only want to load file from stream.
Can you please tell me which would be the best approach to do it.

Hi mixdba,

Thanks for using GroupDocs.Viewer for .NET.

GroupDocs.Viewer uses temp/cache folder to save file from stream temporarily. It, then, processes the file to render html pages or images. After rendering process, you can remove the files in temp folder using ClearCache() method provided by the API. However, if you want to process stream without saving file on local machine, then unfortunately, it is not supported by the API.

If anything is not clear, please feel free to ask.

Warm Regards