The Record Control connects to a Web(USB) camera and displays video and saves the video in the specified file. It provides properties, methods, and events to open, start, stop, pause, and resume the recording.
Property List
| Custom Properties | Explanation |
|---|---|
| Appearance | Sets the appearance of the Record Control's border |
| BackColor | Sets the background color for the Record Control |
| BitCount | Refers to the number of bits per pixel |
| BitRate | Sets the bit rate |
| BorderColor | Sets the color of Record Control's the border |
| BorderVisible | Sets whether or not the border of the Record Control is displayed |
| Compression | Refers to the compression format of the bitmap |
| Enabled | Sets whether or not the mouse and keyboard events of the Record Control are enabled |
| ErrorStatus | Retrieves the type of error that has occurred |
| Format | Sets the format of the saved file |
| FrameRate | Sets the frame rate |
| HWND | Refers to the window handle of the Record Control |
| MaximumBitRate | The maximum bit rate |
| MaximumFrameRate | The maximum frame rate |
| MinimumBitRate | The minimum bit rate |
| MinimumFrameRate | The minimum frame rate |
| MouseCursorFile | Sets the name of the cursor file used for the user defined mouse cursor |
| MouseCursorType | Sets the shape of the mouse cursor when the mouse is within the Record Control |
| State | Retrieves the current state of the Record Control |
| VideoDevices | Retrieves the name of the video device |
| VideoHeight | Retrieves the height of the video capture |
| VideoSubType | The GUID string that specifies the subtype of the media sample |
| VideoWidth | Retrieves the width of the video capture |
Method List
| Custom Method | Explanation |
|---|---|
| Close | Closes the video file |
| GetStreamFormat | Retrieves the specified format function |
| GetStreamFormats | Retrieves the specified set of format functions |
| GetVideoDevices | Retrieves the video device name |
| Open | Connects to the Web(USB) camera in capture mode |
| Pause | Pauses the video capture or restarts a paused capture |
| SetStreamFormat | Sets the specified format functions |
| ShowCapturePinDialog | Displays the capture pin dialog |
| ShowFilterDialog | Displays the filter dialog |
| Start | Starts the video capture |
| Stop | Stops the video capture |