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
 Highlight Objects TImageEnVect not saving

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
AndyColmes Posted - May 21 2014 : 03:37:49
I create highlight objects in TImageEnVect as follows:

KImageEnVect1.MouseInteractVt := [ miPutBox ];
KImageEnVect1.ObjBoxHighlight [ -1 ] := true;
KImageEnVect1.ObjBrushColor [ -1 ] := clYellow;
KImageEnVect1.ObjBrushStyle [ -1 ] := bsSolid;

But when I call SaveToIEV and then reload the file using LoadFromIEV, the highlight object is not saved. All other annotation objects are saved however.

Where did I go wrong?

Thanks very much in advance.

Andy

6   L A T E S T    R E P L I E S    (Newest First)
xequte Posted - Jun 10 2014 : 15:01:20
Sorry Andy, forgot to update this post. Yes, we have resolved the issue. The fix will be in v5.1.2, but you might want to email me for a source update now.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
AndyColmes Posted - Jun 09 2014 : 23:25:39
Hi Nigel,

Any updates on this? Thanks.
xequte Posted - May 22 2014 : 19:06:27
Hi Andy

I see what you mean. I can reproduce this and we are currently investigating.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
AndyColmes Posted - May 21 2014 : 11:58:36
Yes, I am calling CopyObjectToBack to flatten the image and then save it to a file, all the "objects" are showing in the final bitmap. I know they are not objects anymore but they should show in the bitmap. Everything shows but not "objects" that are highlights. If you can try to create a highlight object in TImageEnVect, save the objects to a IEV file, then load back the file after calling RemoveAllObjects. Then do a CopyObjectsToBack and save the flatten image to a bitmap file. The bitmap file does not show the highlight.
w2m Posted - May 21 2014 : 09:51:08
When you copy the objects to back there are no objects at all as they are merged into the background layer 0. If you need to keep the objects intact then do not CopyObjectsToBack at all.

William Miller
AndyColmes Posted - May 21 2014 : 09:20:38
I think it is the issue of CopyObjectsToBack. Calling this does not save the objects that are highlighted and therefore saving to a file does not show up.

Can you verify?