The following tables list the members exposed by CaptureCtrl.
Public Constructors
Name | Description | |
---|---|---|
CaptureCtrl | Constructs a new CaptureCtrl control object. |
Public Methods
Name | Description | |
---|---|---|
CaptureDIB | Captures a device independent bitmap. | |
CaptureFrame | Captures a single frame during a CaptureMode.ManualFrames mode capture. | |
CaptureImage | Captures a video image to a System.Drawing.Image object. | |
EnterEdit | Enters editing mode by preventing the capture object from rebuilding the media session while devices are being selected. | |
EstimateOutputBitRate | Gets the estimated capture output bit rate, in bits per second. | |
EstimateOutputSize | Gets the estimated capturing output size, in bytes, for the specified duration. | |
GetStillDIB | Gets a device independent bitmap during a CaptureMode.Still capture. | |
GetStillImage | Gets a System.Drawing.Image object during a CaptureMode.Still capture. | |
HasDialog | Checks if the specified property dialog is available. | |
IsModeAvailable | Specifies whether the specified capture mode is available. | |
LeaveEdit | Leaves editing mode. | |
PauseCapture | Pauses the capture control. | |
ReadyCapture | Prepares the capture media session for running. | |
ResetTarget | Resets the media target. | |
RunCapture | Runs the capture session. | |
SaveStillBitmap | Saves a snapshot from the running stream to a file as a bitmap. | |
SaveStillDIB | Saves a snapshot from the running stream to a file as a device-independent bitmap(DIB). | |
ShowDialog | Shows a specified property dialog. | |
StartCapture | Starts capturing data. | |
StopCapture | Stops capturing data. | |
ToggleFullScreenMode | Switches the state of the full screen mode on or off. | |
TogglePreview | Switches the state of the preview mode on or off. |
Protected Methods
Name | Description | |
---|---|---|
AttachInterfaces | Internal method to attach interfaces to the underlying control object. | |
CreateSink | Internal method to create the event sink for the underlying control object. | |
DetachSink | Internal method to detach the event sink for the underlying control object. | |
Dispose | Releases internal control object and related object references. |
Public Properties
Name | Description | |
---|---|---|
Appearance | Gets or sets a value determining the appearance of the control. | |
AudioCaptureFormats | Gets the AudioFormats object containing all the audio formats available for the current capture device. | |
AudioDevices | Gets the audio device collection object. | |
AudioProcessors | Gets the registered audio processor collection object. | |
AudioRenderers | Gets the registered audio renderer collection object. | |
AutoSize | Gets or sets a value indicating whether the control is automatically resized. | |
AverageFrameSize | Gets the average size of the frames that have been captured. | |
BackColor | Gets or sets the background color for the control. | |
Balance | Gets or sets the balance value of the audio stream. | |
BorderStyle | Gets or sets the border style of the control. | |
CaptureStillDelay | Gets or sets the time delay, in milliseconds, before capturing a DIB or a Picture. | |
CaptureTime | Gets the amount of time the capture has been running, in seconds. | |
DeliveredFrames | Gets the total number of frames that have been delivered during capture. | |
DroppedFrames | Gets the total number of frames that have been dropped during capture. | |
Enabled | Gets or sets a value indicating whether the control can respond to user interaction. | |
FrameDelay | Gets or sets the auto frames capture mode frame delay in seconds. | |
FrameRate | Gets or sets the user defined frame rate in frames per second. | |
FullScreenMode | Gets the video renderer full-screen mode state. | |
Mode | Gets the current capture mode. | |
Mute | Gets or sets the audio stream mute state. | |
Preview | Gets or sets the preview enabled state. | |
PreviewSource | Gets or sets the preview source setting. | |
ScaleHeight | Gets or sets the height of the client area of the control. | |
ScaleLeft | Specifies the X coordinate of the origin in a custom coordinate system for the client area. | |
ScaleMode | Specifies the unit of measure for the control. | |
ScaleTop | Specifies the Y coordinate of the origin in a custom coordinate system for the client area. | |
ScaleWidth | Specifies the width of the client area of the control. | |
SelectedAudioProcessors | Gets the selected audio processor collection object. | |
SelectedVideoProcessors | Gets the selected video processor collection object. | |
ShowDialogPreview | Gets or sets the option to continue to display the preview during a call to the ShowDialog method. | |
State | Gets the capture control's current state. | |
TargetFile | Gets or sets the filename for the media target file. | |
TargetFormat | Gets or sets the target format for the media file. | |
TargetFormats | Gets the target format collection object. | |
TargetType | Gets and sets the media target type. | |
TimeLimit | Gets or sets the capture time limit in seconds. | |
TVTuner | Gets a TVTuner object. | |
UseFrameRate | Gets or sets the option to use the frame rate specified in the FrameRate property. | |
UseTimeLimit | Gets or sets the option to use the time limit specified by the TimeLimit property. | |
VideoCaptureFormats | Gets the VideoCaptureFormats object that contains all the video formats available for the current capture device. | |
VideoCaptureSizes | Gets the video capture sizes collection object. | |
VideoCaptureSubTypes | Gets the video device's capture subtypes collection object. | |
VideoDevices | Gets the video device collection object. | |
VideoHeight | Gets the current video height. | |
VideoInputs | Gets the video input collection object. | |
VideoProcessors | Gets the registered video processor collection object. | |
VideoWidth | Gets the current video width. | |
VideoWindow | Gets the handle to the current video window. | |
VideoWindowHeight | Gets the height of the video window. | |
VideoWindowLeft | Gets the left position of the video window. | |
VideoWindowSizeMode | Gets or sets the size mode for the current video window. | |
VideoWindowTop | Gets the top position of the video window. | |
VideoWindowWidth | Gets the width of the video window. | |
Volume | Gets or sets the volume level of the audio stream. | |
Window | Gets the handle to the control's window. |
Public Events
Name | Description | |
---|---|---|
Click | Occurs when the control is clicked. | |
Complete | Occurs when the operation in progress has completed. | |
DoubleClick | Occurs when the control is double-clicked. | |
ErrorAbort | Occurs when an error has caused an operation to abort. | |
KeyDown | Occurs when the control has detected a KeyDown event. | |
KeyPress | Occurs when the control has detected a KeyPress event. | |
KeyUp | Occurs when the control has detected a KeyUp event. | |
MouseDown | Occurs when the mouse pointer is over the control and a mouse button is pressed. | |
MouseEnter | Occurs when the mouse pointer enters the control. | |
MouseHover | Occurs when the mouse pointer rests on the control. | |
MouseLeave | Occurs when the mouse pointer leaves the control. | |
MouseMove | Occurs when the mouse pointer is moved over the control. | |
MouseUp | Occurs when the mouse pointer is over the control and a mouse button is released. | |
Progress | Occurs periodically during a capture operation to notify of capture progress. | |
Resize | Occurs when the control is resized. | |
Started | Occurs when a capture operation has started. |