Hello,
I use the following command:
Var g As Graphics = myPDFDocument.Graphics
Window1.DrawInto(g, 0, 0)
How to impose a size and a position (left, top, width, height) on the image?
Thanks
Hello,
I use the following command:
Var g As Graphics = myPDFDocument.Graphics
Window1.DrawInto(g, 0, 0)
How to impose a size and a position (left, top, width, height) on the image?
Thanks
if g<>nil then
Var p as new Picture( Window1.Width, Window1.Height, 32)
Window1.DrawInto p.Graphics, 0, 0
Var gheight as Integer = g.Width/p.Width*p.Height
g.DrawPicture p, 0, 0, g.Width, gheight, 0, 0, p.Width, p.Height
end