1 year ago
#326565
OrLevi
WPF - Get file name while using PrintDialog
I use PrintDialog to print a particular control.
I wanted to know is there a way to know what file name the user chose as can be done with SaveFileDialog?
var pd = new PrintDialog();
if (pd.ShowDialog().GetValueOrDefault())
{
pd.PrintVisual(bc, "Print control");
}
c#
wpf
savefiledialog
0 Answers
Your Answer