←Select platform
In This Topic ▼

PlayCtrl Class Methods

Summary

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

Public Methods

Name Description
Public Method CanSaveObjectSettings Determines whether the specified settings can be saved.
Public Method CheckSeekingCapabilities Specifies whether the object is capable of performing the specified seeking operation.
Public Method EditGraph Registers the current graph and runs the DirectShow GraphEdit utility.
Public Method GetPreferredFilter Retrieves the preferred filter's Display Name set using the SetPreferredFilter method.
Public Method GetSelectedStream Gets the index of the selected stream of type streamType.
Public Method GetStillDIB Gets a device-independent bitmap (DIB).
Public Method GetStillImage Gets a System.Drawing.Image object.
Public Method GetStreamCount Gets the number of elementary streams
Public Method GetSubObject Gets the specified graph object.
Public Method HasDialog Checks whether the specified property dialog is available.
Public Method IsRateSupported Determines whether a specific playback rate is supported.
Public Method LoadSettingsFromFile Loads some or all of the play object settings from a file.
Public Method LoadSettingsFromStream Loads settings from a stream.
Public Method MarkSelectionEnd Sets the selection ending mark equal to the current position.
Public Method MarkSelectionStart Sets the selection starting mark equal to the current position.
Public Method NextFrame Seeks to the next video frame.
Public Method Pause Pauses the current media file playback.
Public Method PreviousFrame Seeks for the previous video frame.
Public Method ResetSource Resets the media source.
Public Method Run Plays the current media source.
Public Method SaveSettingsToFile Saves some or all of the play object settings to a file.
Public Method SaveSettingsToStream Saves some or all of the play object settings to a stream.
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 Scrub Forces a frame to the renderer while stopped.
Public Method SeekEnd Seeks for the end of the media file.
Public Method SeekSelectionEnd Seeks for the ending mark of the selection.
Public Method SeekSelectionStart Seeks for the starting mark for the selection.
Public Method SeekStart Seeks for the beginning of the media file.
Public Method SetPreferredFilter Sets a preferred filter (decoder or demultiplexer)
Public Method SetSelectedStream Indicates which stream of type streamType should be selected (rendered).
Public Method SetVideoWindowPos Sets the position and size of the video window.
Public Method ShowDialog Displays the specified property dialog.
Public Method Stop Stops the current media file playback.
Public Method ToggleClosedCaptioning Switches the state of the closed captioning mode on or off.
Public Method ToggleFullScreenMode Switches the full screen 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.
Help Version 20.0.2019.11.25
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2019 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly