Share via


MediaFormat.ResampleFromProfile Method

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

Namespace:  Microsoft.Office.Interop.PowerPoint
Assembly:  Microsoft.Office.Interop.PowerPoint (in Microsoft.Office.Interop.PowerPoint.dll)

Syntax

'Declaration
Sub ResampleFromProfile ( _
    profile As PpResampleMediaProfile _
)
'Usage
Dim instance As MediaFormat
Dim profile As PpResampleMediaProfile

instance.ResampleFromProfile(profile)
void ResampleFromProfile(
    PpResampleMediaProfile profile
)

Parameters

Remarks

The profile parameter 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

Reference

MediaFormat Interface

MediaFormat Members

Microsoft.Office.Interop.PowerPoint Namespace