You can use all format providers (including PdfFormatProvider) programmatically as shown in this article. In the examples, the streams of the OpenFileDialog and SaveFileDialog are used, but you can pass a MemoryStream in the same manner. It is also possible to export the document to a byte array.
Having exported the document to a stream or a byte array, you can proceed to save the file on the server or process it in any other way.
the Telerik team
Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>