共用方式為


MediaClip.CreateFromSurface(IDirect3DSurface, TimeSpan) 方法

定義

從 Microsoft Direct3D 介面建立視訊剪輯。

public:
 static MediaClip ^ CreateFromSurface(IDirect3DSurface ^ surface, TimeSpan originalDuration);
 static MediaClip CreateFromSurface(IDirect3DSurface const& surface, TimeSpan const& originalDuration);
public static MediaClip CreateFromSurface(IDirect3DSurface surface, System.TimeSpan originalDuration);
function createFromSurface(surface, originalDuration)
Public Shared Function CreateFromSurface (surface As IDirect3DSurface, originalDuration As TimeSpan) As MediaClip

參數

surface
IDirect3DSurface

Microsoft Direct3D 表面。

originalDuration
TimeSpan TimeSpan

建立之視訊剪輯的初始持續時間。

傳回

包含視訊剪輯的新媒體剪輯物件。

適用於