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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 errore saving annotation

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
giannidipie Posted - Jan 13 2012 : 03:04:53
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


1   L A T E S T    R E P L I E S    (Newest First)
fab Posted - Jan 14 2012 : 11:45:19
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');