The following tables list the members exposed by ConvertCtrl.
Public Constructors
Name | Description | |
---|---|---|
ConvertCtrl | The ConvertCtrl control object constructor. |
Public Methods
Name | Description | |
---|---|---|
EstimateOutputBitRate | Gets the estimated conversion output bit rate, in bits per second. | |
EstimateOutputSize | Gets the estimated conversion output size for the specified duration, in bytes. | |
GetPreferredMediaSourceHandler | Retrieves the preferred media source handler's GUID set using the SetPreferredMediaSourceHandler method. | |
HasDialog | Checks whether the specified property dialog is available. | |
PauseConvert | Pauses the conversion process. | |
ResetSource | Resets the media source. | |
ResetTarget | Resets the media target. | |
RunConvert | Runs a paused conversion process. | |
SaveStillBitmap | Saves a snapshot from the running stream to a file as a bitmap. | |
SetPreferredMediaSourceHandler | Sets a preferred media source handler's GUID. | |
ShowDialog | Shows the specified property dialog. | |
StartConvert | Starts converting data. | |
StopConvert | Stops converting data. | |
ToggleFullScreenMode | Switched the state of the full screen mode. |
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 | |
---|---|---|
AllowedStreams | Gets or sets which streams can be converted. | |
AudioProcessors | Gets the registered audio processors collection object. | |
ConvertError | Gets the last conversion error code. | |
Duration | Gets the duration of the media, in seconds. | |
FullScreenMode | Gets or sets the video renderer full-screen mode state. | |
PercentComplete | Gets the current conversion completion percentage. | |
PercentCompleteScalar | Gets or sets the scalar value by which to divide the current conversion completion percentage. | |
Preview | Gets or sets the Convert control's preview state. | |
PreviewVisible | Gets or sets the preview visible state. | |
RenderedStreams | Gets the streams that have been rendered. | |
SelectedAudioProcessors | Gets the selected audio processor collection object. | |
SelectedVideoProcessors | Gets the selected video processor collection object. | |
SelectionEnd | Gets or sets the current selection end position in seconds. | |
SelectionStart | Gets or sets the current selection start position in seconds. | |
SourceAudioFOURCC | Gets the FOURCC format id of the source audio. | |
SourceAudioType | Gets a string that represents the GUID of the source audio type. | |
SourceFile | Gets or sets the media source filename, URL or UDP address. | |
SourceObject | Gets or sets the media source object. | |
SourceStream | Gets or sets the media source stream. | |
SourceType | Gets the media source type. | |
SourceVideoFOURCC | Gets the FOURCC format id of the source video format. | |
SourceVideoType | Gets a string that represents the GUID of the source video type. | |
State | Gets the convert control current state. | |
TargetFile | Gets or sets the media target filename. | |
TargetFormat | Gets or sets the media target file format. | |
TargetFormats | Gets the target format collection object. | |
TargetType | Gets and sets the media target type. | |
UnrenderedStreams | Gets the streams that have not been rendered. | |
VideoHeight | Gets the current video height in pixels. | |
VideoProcessors | Gets the registered video processors collection object. | |
VideoWidth | Gets the current video width in pixels. | |
VideoWindow | Gets the handle to the current video window. | |
VideoWindowHeight | Gets the height of the video window in pixels. | |
VideoWindowLeft | Gets the left position of the video window in pixels. | |
VideoWindowSizeMode | Gets or sets the current video window size mode. | |
VideoWindowTop | Gets the top position of the video window in pixels. | |
VideoWindowWidth | Gets the width of the video window in pixels. | |
Window | Gets or sets the handle to the convert control window. |
Public Events
Name | Description | |
---|---|---|
Click | Occurs when the control is clicked. | |
Complete | Occurs when a conversion operation was successfully 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. | |
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 conversion operation to notify percentage completed. | |
Resize | Occurs when the control is resized. | |
Started | Occurs when a conversion operation has started. | |
UserAbort | Occurs when a conversion operation has been stopped programmatically. |
See Also