I used it otherwise the painting is not included
1) Try "SaveAsViewed" and save as bmp file.
The same usage but with a quality-difference
// xImage
DEFINE BUTTON OF oDlg:oBar PROMPT "Save xImage" CENTER ;
ACTION ( oImage1:Save( .T., c_path1 + "EXPORT\" + "SAVED1.JPG", 100 ), ;
MsgInfo( "saved as saved1.jpg" ) )
// TImage
DEFINE BUTTON OF oDlg:oBar PROMPT "Save Image" CENTER ;
ACTION ( oImage2:SaveImage( c_path1 + "EXPORT\" + "SAVED2.JPG", 2, 100 ), ;
MsgInfo( "saved as saved2.jpg" ) )
With the test it is possible to save with Timage or xImage
the EXE and PRG is included
usage :
1. with mouse-dblclick activate drawing
2. with mouse-dblclick stop drawing
3. after finish drawing select < new from clipboard >
using this button Your drawing is saved to the clipboard
and painted inside a new dialog.
4. next You can save the image with xImage or TImage
5. View the saved image with < show image-export >.
Download
http://www.pflegeplus.com/DOWNLOADS/XIMG2.zip
combination
You can switch between free draw and line from x to y
a line startposition is auto-connected to the end-position of free draw.

loaded from clipboard

save-results
1. save with xImage
2. show saved file ( white lines )
3. save with TImage
4. show saved file ( OK )

regards
Uwe
