make page stretch to take full size of screen

Hello 

Can you tell me how to make pages in PDF viewer take the full width and height of screen

Which PDF viewer in grid control 

And I disable bookmark and toolbar of PDF viewer 

When I test. the page fit in screen but there are white spaces over and below the page but I need to stretch the page to take the full width and height of screen 


1 Reply

MA ManojKumar Arumugasamy Syncfusion Team February 14, 2024 06:00 AM UTC

Hi Adel,

To fit the pdf to width on the UWP platform, you can set the viewmode to FitWidth. But note that this will only fit the width and not the height of the PDF. We have no support stretching both the height and width at the same time of the PDF to the screen, as it might change the details, like annotations and text that might be present on the PDF.

Kindly provide the following details to help us better understand your requirements:

  1. Could you please provide more details on why you need to fit both the width and height of the PDF to the screen?
  2. Provide us with a sample with the PDF and screenshots of the issues.

Loader.
Up arrow icon