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
 errore saving annotation
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

giannidipie

11 Posts

Posted - Jan 13 2012 :  03:04:53  Show Profile  Reply
How can i save annotation on a stream?

Using your demo UserDataVect there is a an error during the save process, due to a compression stream error.
I'am using 4.0.3 release on Delphi XE


fab

1310 Posts

Posted - Jan 14 2012 :  11:45:19  Show Profile  Reply
Please describe how to replicate this problem.
For example I tested following code without problems:

  // Save object with a buffer of 1000bytes
  ImageEnVect1.ObjUserData[-1] := AllocMem(1000);
  ImageEnVect1.ObjUserDataLength[-1] := 1000;
  ImageEnVect1.AddNewObject(iekLINE, Rect(0,0,10,10), clRed);
  ImageEnVect1.SaveToFileIEV('c:\test.iev');


  // Load
  ImageEnVect1.LoadFromFileIEV('c:\test.iev');
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: