Partager via


MediaFormat.ResampleFromProfile Method (PowerPoint)

Adds the current media object to the queue and begins resampling base on the specified profile.

Version Information

Version Added: PowerPoint 2010

Syntax

expression .ResampleFromProfile(profile)

expression An expression that returns a MediaFormat object.

Parameters

Name

Required/Optional

Data Type

Description

profile

Optional

PpResampleMediaProfile

The resample media profile to use.

Return Value

Nothing

Remarks

profile must be one of the following PpResampleMediaProfile constants.

Constant

Value

Description

ppResampleMediaProfileCustom

1

Custom profile

ppResampleMediaProfileSmall

2

Small profile

ppResampleMediaProfileSmaller

3

Smaller profile

ppResampleMediaProfileSmallest

4

Smallest profile

See Also

Concepts

MediaFormat Object Members

MediaFormat Object