Export X3g Stuff

This commit is contained in:
gregory-diaz 2014-08-27 12:02:15 -07:00
parent 949968817a
commit c02e86441a
7 changed files with 92 additions and 43 deletions

View file

@ -175,7 +175,8 @@ namespace MatterHackers.MatterControl.PrintQueue
{
List<PrintItem> parts = QueueData.Instance.CreateReadOnlyPartList();
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Parts Sheet|*.pdf");
string documentsPath = System.Environment.GetFolderPath (System.Environment.SpecialFolder.Personal);
SaveFileDialogParams saveParams = new SaveFileDialogParams("Save Parts Sheet|*.pdf", initialDirectory: documentsPath);
System.IO.Stream streamToSaveTo = FileDialog.SaveFileDialog(ref saveParams);
if (streamToSaveTo != null)