Back to Blog
Developer Blog
Can I set a background color/border for the gray area around the PDF pages?
Foxit SDK .NET
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;