Hi all,
I have a Canvas where I draw some lines on it.
When I save the Snapshot to a file I get nicely the Lines.
Code Snipper.
I don't need the file I like to have the Lines directly in the Image.
Saving the Image and Load again is no option because of performance.
Maybe some Refresh issues??
Hope anybody can help.
I have a Canvas where I draw some lines on it.
When I save the Snapshot to a file I get nicely the Lines.
Code Snipper.
B4X:
img = cvs.Snapshot
Dim Out As OutputStream
Out = File.OpenOutput("c:\","Hello" & x1 & ".png",False)
img.WriteToStream(Out)
Out.Close
'Here I get the Drawing Lines from the cvs.Snapshot in a file
gxIMG.SetImage(img)
'When I do this directly I don't See any line.
Saving the Image and Load again is no option because of performance.
Maybe some Refresh issues??
Hope anybody can help.
Last edited: