Muokkaa

Jaa


MediaFormat.ResampleFromProfile method (PowerPoint)

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

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

If the media content is not fully downloaded, this method fails and an error occurs. For more information about the Partial Documents, see Work with Partial Documents.

See also

MediaFormat Object

Work with Partial Documents

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.