I am creating a pdf using PDFsharp and saving it automatically on button click-
Instead of automatically saving it by button click, I want to generate a download link for the pdf using link label in windows form -
How should I do this? Thank you.
C#:
// Save the document...
string filename = "Barcode.pdf";
document.Save(@"E:\" + filename);
MessageBox.Show("PDF saved successfully!");
Instead of automatically saving it by button click, I want to generate a download link for the pdf using link label in windows form -
How should I do this? Thank you.