←Select platform
In This Topic ▼

CaptureCtrl Class Methods

Summary

For a list of all members of this type, see CaptureCtrl members

Public Methods

Name Description
Public Method CaptureDIB Captures a device independent bitmap.
Public Method CaptureFrame Captures a single frame during a CaptureMode.ManualFrames mode capture.
Public Method CaptureImage Captures a video image to a System.Drawing.Image object.
Public Method EnterEdit Enters editing mode by preventing the capture object from rebuilding the media session while devices are being selected.
Public Method EstimateOutputBitRate Gets the estimated capture output bit rate, in bits per second.
Public Method EstimateOutputSize Gets the estimated capturing output size, in bytes, for the specified duration.
Public Method GetStillDIB Gets a device independent bitmap during a CaptureMode.Still capture.
Public Method GetStillImage Gets a System.Drawing.Image object during a CaptureMode.Still capture.
Public Method HasDialog Checks if the specified property dialog is available.
Public Method IsModeAvailable Specifies whether the specified capture mode is available.
Public Method LeaveEdit Leaves editing mode.
Public Method PauseCapture Pauses the capture control.
Public Method ReadyCapture Prepares the capture media session for running.
Public Method ResetTarget Resets the media target.
Public Method RunCapture Runs the capture session.
Public Method SaveStillBitmap Saves a snapshot from the running stream to a file as a bitmap.
Public Method SaveStillDIB Saves a snapshot from the running stream to a file as a device-independent bitmap(DIB).
Public Method ShowDialog Shows a specified property dialog.
Public Method StartCapture Starts capturing data.
Public Method StopCapture Stops capturing data.
Public Method ToggleFullScreenMode Switches the state of the full screen mode on or off.
Public Method TogglePreview Switches the state of the preview mode on or off.

Protected Methods

Name Description
Protected Method AttachInterfaces Internal method to attach interfaces to the underlying control object.
Protected Method CreateSink Internal method to create the event sink for the underlying control object.
Protected Method DetachSink Internal method to detach the event sink for the underlying control object.
Protected Method Dispose Releases internal control object and related object references.

See Also

Reference

CaptureCtrl Class

Leadtools.MediaFoundation Namespace

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.