What am I doing wrong here with Drawpicture?
Error Msg “Using Getdata on an image is not supported”
Var pdf As New PDFDocument
Var g As Graphics = pdf.Graphics
g.DrawRoundRectangle(10, 10, pdf.PageWidth-20, pdf.PageHeight-20,20,20)
Mytitle = "The following ..............."
g.DrawText(mytitle, 100, 100, pdf.PageWidth-40)
select case PlayerNum
In a multi-resolution Picture, the app will display (choose) the one that best fits the screen dpi.
PDF is a device independent resolution format, what means that it can’t choose for you the one that you want to render. That is, between two images or planes for the picture (one of these with 32 x 32 px, and the second one with 64 x 64 px), which one should it render in the page, specially if you intend to scale or fit the image at a given size?
Is for that, that you must explicity give the desired image to render in the page to the PDF document.