C# 클래스 WebEye.Controls.Wpf.WebCameraControl

Interaction logic for WebCameraControl.xaml
파일 보기 프로젝트 열기: jacobbo/WebEye 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
IsCapturingProperty System.Windows.DependencyProperty

Private Properties

프로퍼티 타입 설명
InitializeCaptureGraph void
OnShutdownStarted void
SaveVideoDevice void

공개 메소드들

메소드 설명
GetCurrentImage ( ) : Bitmap

Retrieves the unstretched image being captured.

GetVideoCaptureDevices ( ) : IEnumerable

Gets a list of available video capture devices.

StartCapture ( WebCameraId camera ) : void

Starts a capture.

StopCapture ( ) : void

Stops a capture.

WebCameraControl ( ) : System

보호된 메소드들

메소드 설명
OnContentChanged ( object oldContent, object newContent ) : void

비공개 메소드들

메소드 설명
InitializeCaptureGraph ( ) : void

Initializes a capture graph.

OnShutdownStarted ( object sender, EventArgs eventArgs ) : void
SaveVideoDevice ( DirectShowProxy &info ) : void

메소드 상세

GetCurrentImage() 공개 메소드

Retrieves the unstretched image being captured.
The control is not capturing a video stream. Failed to get the current image.
public GetCurrentImage ( ) : Bitmap
리턴 System.Drawing.Bitmap

GetVideoCaptureDevices() 공개 메소드

Gets a list of available video capture devices.
Failed to load the DirectShow utilities dll.
public GetVideoCaptureDevices ( ) : IEnumerable
리턴 IEnumerable

OnContentChanged() 보호된 메소드

protected OnContentChanged ( object oldContent, object newContent ) : void
oldContent object
newContent object
리턴 void

StartCapture() 공개 메소드

Starts a capture.
A null reference is passed as an argument. Failed to load the DirectShow utilities dll. Failed to run a video capture graph.
public StartCapture ( WebCameraId camera ) : void
camera WebCameraId The camera to capture from.
리턴 void

StopCapture() 공개 메소드

Stops a capture.
The control is not capturing a video stream. Failed to stop a video capture graph.
public StopCapture ( ) : void
리턴 void

WebCameraControl() 공개 메소드

public WebCameraControl ( ) : System
리턴 System

프로퍼티 상세

IsCapturingProperty 공개적으로 정적으로 프로퍼티

public static DependencyProperty,System.Windows IsCapturingProperty
리턴 System.Windows.DependencyProperty