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
 Printing Vectorial Highlight Box
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

ccanoy

USA
5 Posts

Posted - Nov 07 2014 :  08:31:49  Show Profile  Reply
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.

w2m

USA
1990 Posts

Posted - Nov 07 2014 :  09:37:01  Show Profile  Reply
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
Go to Top of Page

xequte

39142 Posts

Posted - Nov 09 2014 :  13:34:35  Show Profile  Reply
Hi

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



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

ccanoy

USA
5 Posts

Posted - Nov 10 2014 :  06:33:37  Show Profile  Reply
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.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: