ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 How to save a selected Image from ImageENMview
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jgun

India
11 Posts

Posted - Dec 20 2013 :  02:32:33  Show Profile  Reply
Hi, We are ImageEN5.0. There are multiple images scanned and displayed into ImageEnMview component. We have to save each image selected as a TIFF or PDF individual file. After selecteting a single image in ImageENMview window and calling ImageEnMView1.MIO.SaveToFilePDF(ScanPathToSaveTo.Text, True); , we are unable to save and it says the fiel is corrupted. It happens same if we use SaveToFileTIFF also. If the SaveSelected paramter is not set to True, then it saves all images into a single PDF properly and in case of SaveToFileTIFF API, only the first image is being saved. What should be done to address this? We have to selected each iamge in the component and save as either TIFF or PDF.

xequte

39061 Posts

Posted - Jan 06 2014 :  18:16:46  Show Profile  Reply
Hi

I have tested both these issues in v5.0.5 and could not reproduce any problem. Please try it with the latest version.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

xequte

39061 Posts

Posted - Jan 07 2014 :  18:43:09  Show Profile  Reply
Hi

Thanks for sending the demo.

You have not enabled multi-select, SaveToFilePDF and SaveToFileTIFF assume you are using multi-select if you use the SaveSelected parameter.

I will add a warning to the help file.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jgun

India
11 Posts

Posted - Jan 07 2014 :  21:39:26  Show Profile  Reply
It worked. Thank you. Yeah, a note to set True on EnableMultiSelect property where SaveSelected parameter is present would be much useful.
Go to Top of Page

xequte

39061 Posts

Posted - Jan 08 2014 :  14:17:20  Show Profile  Reply
Hi

Actually we have done one better. Now the multi-select properties, MultiSelectedImages and MultiSelectedImagesCount, return valid results even if EnableMultiSelect is not enabled. So these functions will work too.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: