Hi
I want to resize picture because my Picture is draw not fit for Excample code
picReport.Graphics.DrawPicture(frmWrtColono.ImgeScope(0).Backdrop,595,140,160,198,100,150)
thank
Hi
I want to resize picture because my Picture is draw not fit for Excample code
picReport.Graphics.DrawPicture(frmWrtColono.ImgeScope(0).Backdrop,595,140,160,198,100,150)
thank
Hello,
There is an example program that resizes a picture at: Resize Photo .
Let me know if this works for you
Sincerely,
Eugene
http://documentation.xojo.com/index.php/Picture
http://documentation.xojo.com/index.php/Graphics.DrawPicture
syntax is:
Graphics.DrawPicture ( Image as Picture, X as Integer, Y as Integer [,DestWidth as Integer ] [, DestHeight as Integer ] [, SourceX as Integer ] [, SourceY as Integer ] [, SourceWidth as Integer ] [, SourceHeight as Integer] )
What do you get with your code ?
I only pass x,y or all parameters. I never skip the SourceWidth, SourcheHeight parms.