I cannot find a way to remove the gray border in the RadPdfViewer.
The border is inside of the scrollviewer and I cannot find a way to set Borderwith or Margin or Padding to Zero.
1 Answer, 1 is accepted
0
Tanya
Telerik team
answered on 13 Mar 2018, 09:13 AM
Hello Dirk,
To achieve that, you will need to change the template of the presenter responsible for rendering the pages - FixedDocumentPresenterBase. Here is its default declaration:
Adding a negative margin to the border in the template will help you to hide the gray area.
Hope this helps.
Regards,
Tanya
Progress Telerik
Want to extend the target reach of your WPF applications, leveraging iOS, Android, and UWP? Try UI for Xamarin, a suite of polished and feature-rich components for the Xamarin framework, which allow you to write beautiful native mobile apps using a single shared C# codebase.