Issue with delete and save routines
Posted: Thu Jul 15, 2010 5:58 pm
Hello. Here is the current scenario:
1. retrieve two pages from the scanner, add images to the imageviewer control and save the file to disk
2. delete page one (index 0) from the image viewer and save the file again (using routine from Image Viewer example saveCurrentImageToolStripMenuItem_Click)
3. page one (index 0) disappears as expected, but after the save process, page one (index 0) is displayed and page two (index 1) is gone
4. after looking at the saved tiff file on the file system, both pages (index 0 & 1) are both still there.. no deletion occurred
If it helps, when I follow this procedure, everything seems to work properly:
1. retrieve two pages from the scanner, add images to the imageviewer control and save the file to disk
2. delete page one (index 0) from the image viewer... it disappears as expected
3. rotate the new page one (index 0... old index 1) prior to saving
4. save the file again (using routine from Image Viewer example saveCurrentImageToolStripMenuItem_Click)
5. after looking at the saved tiff file on the file system, the file is as expected (proper page there and rotated)
I'm using version 4.2.1.5 from your website. Any ideas? This same outcome happens with the demo Image Viewer application as well.
Regards,
Shane
1. retrieve two pages from the scanner, add images to the imageviewer control and save the file to disk
2. delete page one (index 0) from the image viewer and save the file again (using routine from Image Viewer example saveCurrentImageToolStripMenuItem_Click)
3. page one (index 0) disappears as expected, but after the save process, page one (index 0) is displayed and page two (index 1) is gone
4. after looking at the saved tiff file on the file system, both pages (index 0 & 1) are both still there.. no deletion occurred
If it helps, when I follow this procedure, everything seems to work properly:
1. retrieve two pages from the scanner, add images to the imageviewer control and save the file to disk
2. delete page one (index 0) from the image viewer... it disappears as expected
3. rotate the new page one (index 0... old index 1) prior to saving
4. save the file again (using routine from Image Viewer example saveCurrentImageToolStripMenuItem_Click)
5. after looking at the saved tiff file on the file system, the file is as expected (proper page there and rotated)
I'm using version 4.2.1.5 from your website. Any ideas? This same outcome happens with the demo Image Viewer application as well.
Regards,
Shane