Back to Devexpress

CameraControl.GetDevice(CameraDeviceInfo) Method

windowsforms-devexpress-dot-xtraeditors-dot-camera-dot-cameracontrol-dot-getdevice-x28-devexpress-dot-data-dot-camera-dot-cameradeviceinfo-x29.md

latest2.0 KB
Original Source

CameraControl.GetDevice(CameraDeviceInfo) Method

Returns the new CameraDevice object created based on the specified information. This is a static method.

Namespace : DevExpress.XtraEditors.Camera

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static CameraDevice GetDevice(
    CameraDeviceInfo deviceInfo
)
vb
Public Shared Function GetDevice(
    deviceInfo As CameraDeviceInfo
) As CameraDevice

Parameters

NameTypeDescription
deviceInfoCameraDeviceInfo

A CameraDeviceInfo object.

|

Returns

TypeDescription
CameraDevice

A CameraDevice object.

|

Remarks

The GetDevice method returns a new CameraDevice object created based on the CameraDeviceInfo object that contains system information about the device being created.

See Also

GetDevices()

CameraControl Class

CameraControl Members

DevExpress.XtraEditors.Camera Namespace