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
 Printing Vectorial Highlight Box

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
ccanoy Posted - Nov 07 2014 : 08:31:49
Hi,

When highlighting an area of the image using this code,

ImageEnVect1.ObjBoxHighlight[IEV_NEXT_INSERTED_OBJECT] := true;
ImageEnVect1.ObjBrushColor[IEV_NEXT_INSERTED_OBJECT] := clYellow;
ImageEnVect1.ObjBrushStyle[IEV_NEXT_INSERTED_OBJECT] := bsSolid;
ImageEnVect1.MouseInteractVt := [miPutBox];

and print using this sample code from the Demo folder below,

ImageEnVect1.Proc.SaveUndo(ieuImage);
// merge vectorial objects with the bitmap
ImageEnVect1.CopyObjectsToBack(false); // if you want antialias put True instead of False
// display preview and print
ImageEnVect1.IO.DoPrintPreviewDialog(iedtDialog, '', True);
// restore original bitmap
ImageEnVect1.Proc.Undo;

the highlight doesn't appear in the preview or print. Other objects like polyline do.

Did I miss something in code?

Thanks.

3   L A T E S T    R E P L I E S    (Newest First)
ccanoy Posted - Nov 10 2014 : 06:33:37
I was using 5.11. I upgraded to 5.20 that we recently downloaded and that appears to be fixed. Thank you for the quick response.
xequte Posted - Nov 09 2014 : 13:34:35
Hi

Yes, that's right. Please email us for the latest version.



Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Nov 07 2014 : 09:37:01
What version of ImageEn are you using?
I believe this was fixed in v5.1.2.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development