 
            | PDF Xpress for .NET - User Guide > How To > Save PDF to File | 
PDF Xpress™ supports saving a PDF document to a file on the local file system.
To save an open PDF document:
|  | PDF Xpress does not directly support remote file communication protocols, such as HTTP and FTP, to load PDF files. | 
| C# Example | 
                        Copy Code
                     | 
|---|---|
| 
            // This code demonstrates saving a PDF file from a PDF Xpress control
            PdfXpress pdfXpress = null;
            Document document = null;
            SaveOptions saveOptions = null;
            try
            {
                saveOptions = new SaveOptions();
                saveOptions.Filename = "C:\\test_new.pdf";
                document.Save(saveOptions);
            }
            catch (Exception)
            {
            }
            finally
            {
                if (null != document)
                {
                    document.Dispose();
                }
                if (null != pdfXpress)
                {
                    pdfXpress.Dispose();
                }
            }
 | |