Conversion functionality of Aspose.TeX API solution for .NET has a Constructor which accepts a stream as the first argument. Here are some code examples.... 5 // Run LaTeX to XPS conversion. 6 new TeXJob(...options instance. 2 ... 3 // Run LaTeX to XPS conversion. 4 new TeXJob(...