Partager via


_Presentation.CreateVideo Method

Creates a video in a Presentation object.

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

Syntax

'Declaration
Sub CreateVideo ( _
    FileName As String, _
    UseTimingsAndNarrations As Boolean, _
    DefaultSlideDuration As Integer, _
    VertResolution As Integer, _
    FramesPerSecond As Integer, _
    Quality As Integer _
)
'Usage
Dim instance As _Presentation
Dim FileName As String
Dim UseTimingsAndNarrations As Boolean
Dim DefaultSlideDuration As Integer
Dim VertResolution As Integer
Dim FramesPerSecond As Integer
Dim Quality As Integer

instance.CreateVideo(FileName, UseTimingsAndNarrations, _
    DefaultSlideDuration, VertResolution, _
    FramesPerSecond, Quality)
void CreateVideo(
    string FileName,
    bool UseTimingsAndNarrations,
    int DefaultSlideDuration,
    int VertResolution,
    int FramesPerSecond,
    int Quality
)

Parameters

  • FileName
    Type: System.String
    The name of the video file to create.
  • UseTimingsAndNarrations
    Type: System.Boolean
    Indicates whether to use timings and narrations.
  • DefaultSlideDuration
    Type: System.Int32
    The duration, in seconds, to view the slide.
  • VertResolution
    Type: System.Int32
    The resolution of the slide.
  • FramesPerSecond
    Type: System.Int32
    The number of frames per second.
  • Quality
    Type: System.Int32
    The level of quality of the slide.

See Also

Reference

_Presentation Interface

_Presentation Members

Microsoft.Office.Interop.PowerPoint Namespace