Partager via


MediaFormat Members

Include Protected Members
Include Inherited Members

Contains methods and properties that give access to and control over audio and video media.

The MediaFormat type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the creator of the specified object.
Public property AudioCompressionType Returns the audio compression format. Read-only.
Public property AudioSamplingRate Returns the audio sampling rate per second for the media. Read-only.
Public property EndPoint Gets or sets the time of the end point of the trim region of the media. Read/write.
Public property FadeInDuration Gets or sets the duration of the fade in of the media, in milliseconds. Read/write.
Public property FadeOutDuration Gets or sets the duration of the fadeout of the media, in milliseconds. Read/write.
Public property IsEmbedded Returns whether the media file is embedded. Read-only.
Public property IsLinked Returns whether the media file is linked. Read-only.
Public property Length Returns the total length of the media in time units. Read-only.
Public property MediaBookmarks Returns a MediaBookmarks collection that represents the media bookmarks associated with the specified object. Read-only.
Public property Muted Returns whether audio playback of the media is muted. Read/write.
Public property Parent Returns the parent object for the specified object. Read-only.
Public property ResamplingStatus Returns the resampling task status. Read-only.
Public property SampleHeight Returns the resolution height of the sample media. Read-only.
Public property SampleWidth Returns the resolution width of the media sample. Read-only.
Public property StartPoint Gets or sets the start point of the trim region. Read/write.
Public property VideoCompressionType Returns a string that represents the video compression format of the media. Read-only.
Public property VideoFrameRate Returns the video frame rate per second of the media. Read-only.
Public property Volume Gets or sets the volume of the media. Read/write.

Top

Methods

  Name Description
Public method Resample Adds the current media object to the queue and begins resampling, based on the specified parameters.
Public method ResampleFromProfile Adds the current media object to the queue and begins resampling based on the specified profile.
Public method SetDisplayPicture Sets the display picture at the specified time position.
Public method SetDisplayPictureFromFile Sets the display picture from a picture file.

Top

See Also

Reference

MediaFormat Interface

Microsoft.Office.Interop.PowerPoint Namespace