Foxit SDK .NET

Can I set a background color/border for the gray area around the PDF pages?

Yes, it is possible to set the background color for Foxit PDF Viewer for .NET SDK’s viewer control.

You can do that using the BackColor property. Below is the code sample to achieve that:

viewerObj.BackColor = System.Drawing.Color.Blue;

Updated on September 14, 2017

Was this article helpful?
Thanks for your feedback. If you have a comment on how to improve the article, you can write it here: