Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

PowerPointMedia

OfficeIMO.PowerPoint

Namespace
OfficeIMO.PowerPoint
Assembly
OfficeIMO.PowerPoint
Source revision
273d35d5ba8a with working tree changes
Implements
IPackageSdkBinding

Represents an embedded audio or video media frame on a slide.

Inheritance

Usage

Explore 7 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Methods

public byte[] GetData() #

Returns the exact embedded audio or video payload.

Returns

byte[]
public PowerPointMediaPlaybackOptions GetPlaybackOptions() #

Reads typed playback metadata from the native timing and media nodes.

public PowerPointMedia SetPlaybackOptions(PowerPointMediaPlaybackOptions options) #

Updates native playback, trim, and fade metadata in place.

Parameters

options OfficeIMO.PowerPoint.PowerPointMediaPlaybackOptions required
public void UpdateData(Stream media) #

Replaces the embedded audio or video payload.

Parameters

media System.IO.Stream required

Properties

public PowerPointMediaKind Kind { get; } #

Gets the media kind represented by this shape.

public string? MediaContentType { get; } #

Gets the MIME content type of the embedded media part.

public string? MediaReferenceId { get; } #

Gets the relationship id used by the audio/video file reference.

public string? PlaybackReferenceId { get; } #

Gets the p14 media relationship id used by PowerPoint playback metadata.

public PowerPointMediaSourceKind SourceKind { get; } #

Gets whether the payload is embedded, linked, or broken.

public Uri? LinkUri { get; } #

Gets the external media URI when linked.