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. (Last updated on: June 24, 2019).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Change UWP Print Dialog Title

Thread ID:

Created:

Updated:

Platform:

Replies:

143191 Mar 8,2019 10:37 AM UTC Mar 11,2019 10:10 AM UTC UWP 1
loading
Tags: SfPdfViewer
François Manciet
Asked On March 8, 2019 10:37 AM UTC

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

Sathish Sivakumar [Syncfusion]
Replied On 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
 


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon