Using the ExportToDisk() Method
The ExportToDisk() method takes an ExportFormatType and a file name parameter. This method simplifies the need to use the export configuration methods that you created in Creating Methods That Configure Multiple Export Formats.
In this section, you learn how to create a new project, how to modify an existing project, and how to add code to the project to use the ExportToDisk() method.
- You must create a project that is based on the instructions in Setting Up a Project for the ExportToDisk() Method.
- Or, you must create a project that is based on the instructions in Creating Methods for the New Exporting Formats.
Then, you need to modify the project as shown in Preparing the Project for the ExportToDisk() Method.
Once you have prepared the project, click the appropriate link to jump to that section: