Partager via


MediaFormat.Resample Method (PowerPoint)

Adds the current media object to the queue and begins resampling, based on the specified parameters.

Version Information

Version Added: PowerPoint 2010

Syntax

expression .Resample(Trim, SampleHeight, SampleWidth, VideoFrameRate, AudioSamplingRate, VideoBitRate)

expression An expression that returns a MediaFormat object.

Parameters

Name

Required/Optional

Data Type

Description

Trim

Optional

Boolean

Whether to trim the sample.

SampleHeight

Optional

Integer

The sample resolution height.

SampleWidth

Optional

Integer

The sample resolution width.

VideoFrameRate

Optional

Long

The video frame rate, in frames per second.

AudioSamplingRate

Optional

Long

The audio sampling rate, in bits per second.

VideoBitRate

Optional

Long

The video bit rate, in bits per second.

Return Value

Nothing

Remarks

Resample ignores the values of parameters that are not applicable to the media.

See Also

Concepts

MediaFormat Object

MediaFormat Object Members