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
- profile
Type: Microsoft.Office.Interop.PowerPoint.PpResampleMediaProfile
The resample media profile to use.
Remarks
The profile parameter must be one of the following PpResampleMediaProfile constants.
Constant |
Value |
Description |
---|---|---|
1 |
Custom profile |
|
2 |
Small profile |
|
3 |
Smaller profile |
|
4 |
Smallest profile |