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.
Unfortunately, activation email could not send to your email. Please try again.

How to change the color of the unused space of PDFDocumentView ?

Thread ID:

Created:

Updated:

Platform:

Replies:

123935 May 2,2016 08:50 AM May 19,2016 12:20 PM WPF 2
loading
Tags: PdfViewer
fff
Asked On May 2, 2016 08:50 AM

Hi,

Please see attached JPG to clarity

I need to change the color of the surface inside the PdfDocumentView control, but around the pdf, when the pdf does not occupy all the space (which appends very frequently, depending on the zoom factor)

I have tried:
  • background
  • borderbrush
  • foreground
  • opacity mask
... without suceess

so what is the correct attribute ?

Thanks
Fabrice


Attachment: unused_space_a798e599.zip

Sathish Sivakumar [Syncfusion]
Replied On May 3, 2016 08:00 AM

Hi Fabrice, 
 
Thank you for using Syncfusion Products. 
 
At present we do not support “Changing the Background, Foreground, Borderbrush and OpacityMask colors for PdfViewerControl/PdfDocumentView in WPF”. We have created a new incident to follow-up with your query.  
 
Please login to the Syncfusion account to know more details about the incident: 
 
 
Kindly let us know if you need further assistance. 
 
Regards, 
Sathish 


fff
Replied On May 19, 2016 12:20 PM

To help others reading this & wanting to achieve the same

--> sharing from the direct-track support: the correct parameter should indeed be "background" ... but in fact not working (not working in general or in some particular cases is not clear)
Anyway, SF is working on a fix for that to include in the next release
Hope it helps,

F

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.

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.

;