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
 PasteFromClipboard and CopyMode
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

graph_man

326 Posts

Posted - Aug 23 2022 :  09:09:08  Show Profile  Reply
Is it possible to select the CopyMode for this command (PasteFromClipboard)?

cmSrcAnd, cmSrcErase, cmMergeCopy etc.

xequte

38222 Posts

Posted - Aug 23 2022 :  17:58:44  Show Profile  Reply
Hi

What precisely you are looking to do? If you paste to a TIEBitmap (e.g. by attaching it to a TImageEnProc), then you can draw the TIEBitmap using one of the rendering operations:

https://www.imageen.com/help/TIEBitmap.RenderToTIEBitmapEx.html

Nigel
Xequte Software
www.imageen.com
Go to Top of Page

graph_man

326 Posts

Posted - Aug 24 2022 :  04:26:31  Show Profile  Reply
I use ImageEnView
Go to Top of Page

graph_man

326 Posts

Posted - Aug 24 2022 :  15:10:46  Show Profile  Reply
How to use RenderToTIEBitmapEx with clipboard?
Go to Top of Page

xequte

38222 Posts

Posted - Aug 24 2022 :  21:52:55  Show Profile  Reply
With a temp bitmap:

bmp := TBitmap.Create;
proc := TImageEnProc.CreateFromBitmap(bmp);
proc.PasteFromClipboard();

bmp.RenderToTIEBitmapEx(...);

proc.Free;
bmp.Free;


With a TImageEnView:

ImageEnView1.Proc.PasteFromClipboard();
ImageEnView1.IEBitmap.RenderToTIEBitmapEx(...);


Nigel
Xequte Software
www.imageen.com
Go to Top of Page

graph_man

326 Posts

Posted - Aug 25 2022 :  13:34:12  Show Profile  Reply
Thank you.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: