Hi,
i have tryed to open the print dialog directly but in the previev there is no data.
In the pdfViewer in the main windows the pdf is loaded.
Is possible to open the print dialog bypassing the print button in the windows with the pdfViewer control?
.....
PdfLoadedDocument ldoc = new PdfLoadedDocument(buffer);
pdfViewer.LoadDocument(ldoc);
pdfViewer.DocumentLoaded += PdfViewer_DocumentLoaded;
}
private void PdfViewer_DocumentLoaded(object sender, DocumentLoadedEventArgs e)
{
pdfViewer.Print();
}