←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 CheckSeekingCapabilities Specifies whether the object is capable of performing the specified seeking operation.
Public Method GetPreferredMediaSourceHandler Retrieves the preferred media source handler's GUID set using SetPreferredMediaSourceHandler.
Public Method GetStillDIB Gets a device-independent bitmap (DIB).
Public Method GetStillImage Gets a System.Drawing.Image object.
Public Method GetSubObject Gets the specified topology 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 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 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 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 SetPreferredMediaSourceHandler Sets a preferred media source handler's GUID.
Public Method ShowDialog Displays the specified property dialog.
Public Method Stop Stops the current media file playback.
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.

See Also

Reference

PlayCtrl 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.