Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0b54334

Browse files
Update ExportActions.cs
1 parent 4bf146a commit 0b54334

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

‎CS/SpreadsheetExamples/SpreadsheetActions/ExportActions.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,12 @@ static void ExportToPdf(Workbook workbook)
2525
workbook.ExportToPdf(pdfFileStream);
2626
}
2727
#endregion #ExportToPdf
28-
Process.Start("Documents\\Document_PDF.pdf");
28+
var p = new Process();
29+
p.StartInfo = new ProcessStartInfo(@"Documents\Document_PDF.pdf")
30+
{
31+
UseShellExecute = true
32+
};
33+
p.Start();
2934
}
3035
}
3136
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /