We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Change UWP Print Dialog Title

Hi there,

I'm using the SfPdfViewerControl to print PDF documents in my application. I would like to know if there's a way to change the title of the UWP Print Dialog when executing the PrintCommand of the SfPdfViewerControl.

At the moment, the Print Dialog title is "Syncfusion PdfViewer"

Thank you for your feedback,

François Manciet

1 Reply

SS Sathish Sivakumar Syncfusion Team March 11, 2019 10:10 AM UTC

Hi François, 
 
Greetings from Syncfusion. 
 
We can change the PrintDialog title by setting DocumentName property present in the PrinterSettings  in SfPdfViewerControl in UWP.  Please find the code snippet below for your reference. 
 
Code snippet: 
 
this.pdfViewer.PrinterSettings.DocumentName = "My Print Dialog"; 
 
 
Regards,
Sathish
 


Loader.
Up arrow icon