Well as the title of this particular thread is saying what I wanted to ask over here in this particular thread. I am looking to save the canvas as jpeg image file. I have used to below mentioned piece of code and it resulted into error message.what modification should I do so that I can fix the issue. Any help on this particular matter would be highly appreciated. Thanks a lot in advance.Code:dim p as picture dim g as Graphics Dim f as FolderItem Dim intWidth, intHeight As Integer ' Create a new picture of the same dimensions. intWidth = Canvas.Width intHeight = Canvas.Height p = newpicture(intWidth,intHeight,32) ' Use .drawinto to get the window to draw itself onto your picture. Canvas.DrawInto p.Graphics,0,0
Bookmarks