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
 Paste exactly a specific format from the clipboard?
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

PeterPanino

933 Posts

Posted - Oct 17 2022 :  09:30:42  Show Profile  Reply
When an app copies a graphic to the clipboard, different clipboard formats are created depending on how the app does the clipboard copy, for example:



1. When TImageEnView PASTES a graphic from the Clipboard with TImageEnProc.PasteFromClipboard, which of the formats is exactly inserted?

2. Is it possible to paste exactly a specific format (e.g. PNG, CF_DIBV5, CF_BITMAP, etc.) from the clipboard?

xequte

38608 Posts

Posted - Oct 17 2022 :  20:59:20  Show Profile  Reply
Hi Peter

1. When pasting an image from the clipboard, ImageEn favors formats in the following order: Native ImageEn Clipboard format, PNG (for Alpha support), CF_DIB (General support), CF_ENHMETAFILE (Meta-file support)

2. No, it is not possible. Is there a reason why you would want to?


Nigel
Xequte Software
www.imageen.com
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: