在图片框中显示视频 [英] Display video in picturebox
本文介绍了在图片框中显示视频的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要VB.NET plz的帮助.
如何在图片框内显示暂停的视频.
例如;
我在AxWindowsMediaPlayer1中开始了一个视频,并停在了特定的位置,现在我想将显示的屏幕显示到图片框中
谢谢..
Hi,
I need a little help with VB.NET plz.
How can i display a paused video inside picturebox.
for example;
I started a video in AxWindowsMediaPlayer1 and paused in specific position, now i want to display the showed screen into picturebox
Thanks..
推荐答案
您需要将媒体播放器的显示区域捕获为位图,然后将图片框的Image属性设置为它.在CP处搜索文章-有一些关于将屏幕的一部分捕获到图像的信息.
You''ll need to capture the display area of the mediaplayer to a bitmap, then set the picturebox''s Image property to it. Search around the articles at CP - there are several about capturing part of the screen to an image.
这篇关于在图片框中显示视频的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文