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
 ImageEnVect print Objects with Background Image
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

Hannes

Germany
1 Posts

Posted - Apr 02 2017 :  16:21:12  Show Profile  Reply
Hello,

how to print all objects like lines, text.. together with the background image ?

Thanks for help
Hannes

Hannes

w2m

USA
1990 Posts

Posted - Apr 02 2017 :  16:33:54  Show Profile  Reply
Search for this. There are at least 4-5 posts about this.

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

peberhardt

Germany
21 Posts

Posted - Apr 03 2017 :  04:07:17  Show Profile  Reply
Hello,

my solution:


  // Save the image with vectorial objects
  ImageEnVect1.Proc.SaveUndo;
  // Merge vectorial objects with the background image
  ImageEnVect1.CopyObjectsToBack(True);
  // Do print preview


  iIEBitmap := TIEBitmap.Create;
  try
    iImageEnIO := TImageEnIO.Create(nil);
    try
      iImageEnIO.AttachedIEBitmap := iIEBitmap;
      ImageEnVect1.CopySelectionToBitmap(iIEBitmap);
      iImageEnIO.DoPrintPreviewDialog(iedtDialog, '');
    finally
      iImageEnIO.Free;
    end;
  finally
    iIEBitmap.Free;
  end;


    // Restore objects from the merge
  ImageEnVect1.Proc.Undo;
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: