Online Documentation for SQL Query for SQL Server
Setting file name and format
This step of the wizard allows you to select the output file format to save the diagram to.
Use the Destination format radio group to select the desired graphical file format, and specify the output file name in the Destination file name box.
Click the Next button to proceed to the Export Diagram options step of the wizard.