Skip to main content
A newer version of this page is available. .

CameraControl.TakeSnapshot() Method

Returns the video frame currently captured by the currently used device.

Namespace: DevExpress.Xpf.Editors

Assembly: DevExpress.Xpf.Core.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Core, DevExpress.Wpf.Core

Declaration

public ImageSource TakeSnapshot()

Returns

Type Description
ImageSource

A ImageSource object that is the video frame currently captured by the currently used device

Remarks

Call the TakeSnapshot method to take a snapshot from the currently processed video. The returned Bitmap object uses the 32 bits per pixel format to store color data.

See Also