开发者

How do you capture/generate an image from a IPreviewHandler COMIMPORT in WPF/C#?

开发者 https://www.devze.com 2023-01-28 07:32 出处:网络
I was wondering if it is po开发者_如何学Cssible to generate an image (capture) of a ComImport object (like the Win7 PreviewHandler)?

I was wondering if it is po开发者_如何学Cssible to generate an image (capture) of a ComImport object (like the Win7 PreviewHandler)?

I've tried to utilizing RenderTargetBitmap (on the parent control hosting the ComImport), as well as create a WinFormHost and using the DrawToBitmap method. Both however, proved useless as they would only show an empty frame.

Any help is appreciated!

0

精彩评论

暂无评论...
验证码 换一张
取 消