Problem with pdf file view
Posted: Thursday 25th January 2024 3:45pm
The following code:-
Displays the image OK but part of the left hand side of the image is cut off.
Any help would be welcome
Code: Select all
Public Sub Form_Open()
hPDF = New PdfDocument(User.Home &/ "Downloads/LancasterLmarriage.pdf")
hImage = hPDF[0].Render(Desktop.Resolution)
PictureBox1.W = hImage.W
PictureBox1.Image = hImage
End
Any help would be welcome