Problem with pdf file view
Posted
#1
(In Topic #1178)
Regular

Code
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
Displays the image OK but part of the left hand side of the image is cut off.
Any help would be welcome
Posted
Regular

Code (gambas)
- hImage = hPDF[0].Render(0, 0, hPDF[0].Render().W, hPDF[0].Render().H, 0, hPDF.Resolution
Europaeus sum !
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
<COLOR color="#FF8000">Amare memorentes atque deflentes ad mortem silenter labimur.</COLOR>
Posted
Regular

Thank you, don't know why I didn't think of it!
1 guest and 0 members have just viewed this.



