How to convert PDF byte[] to XOD byte[] and to display it to webviewer using C#

Hi,

We are using webviewer in our app to display the XOD format of PDF, app will receive the XOD file through webservice in byte[] datatype, so I need to know how to convert PDF byte[] to XOD byte[]. Web service method will return the byte[] value to webviewer to display the file.

Please help to provide sample method

Please see the WebViewerConvertTest available in a variety of languages… The full working sample is included in the SDK download.

https://www.pdftron.com/pdfnet/samplecode.html#WebViewer