Hi,
I'm using PDFViewer Free component for .NET in a windows form application.
I have to show a pdf in full screen mode on a monitor FULL HD in vertical mode, so resolution is 1080 x 1920 (W x H).
My form is 1080 x 1920, and the same for the pdfviewer control, so it fits the application form perfectly.
My pdf is bigger of the page if I set the zoom at 100%, and it has a ratio different by the screen.
I need to fit perfectly on the left/right side without borders and place the document vertically centered on the screen.
I setup the ZoomViewMode to Spire.PdfViewer.Forms.ZoomMode.FitPage.
My result is that the pdfviewer leave a border on left/right, and place the document in the bottom part of the screen, but I don't understand why.
I attach two images:
- target.png : target that I want.
- pdfviewer_result.png : actual result with pdfviewer.
The white part is the background of the document (sorry, I cannot show you the text because is reserved).
Can you tell me how to do it?
Waiting for your kindly reply,
my best regards.
Fabio.