Hi I am trying to print a PDF from the ViewModel instead of the code
behind and have been following the same method as used to save a PDF
from the ViewModel, found here:
https://www.syncfusion.com/forums/155480/trying-to-save-the-document-in-an-sfpdfviewer-from-viewmodel-instead-of-code-behind
I have created the IPrint interface and an
EventToCommand behaviour but when creating an "OnDocumentPrint" command
and using "DependencyService.Get<IPrintService>().Print(stream,
fileName)" I'm not sure how to obtain the PDF stream.
Thanks for your help.