InlineShapes.AddWebVideo 方法

定义

向文档添加新的 Web 视频。

public Microsoft.Office.Interop.Word.InlineShape AddWebVideo (string EmbedCode, ref object VideoWidth, ref object VideoHeight, ref object PosterFrameImage, ref object Url, ref object Range);
abstract member AddWebVideo : string * obj * obj * obj * obj * obj -> Microsoft.Office.Interop.Word.InlineShape
Public Function AddWebVideo (EmbedCode As String, ByRef VideoWidth As Object, ByRef VideoHeight As Object, Optional ByRef PosterFrameImage As Object, Optional ByRef Url As Object, Optional ByRef Range As Object) As InlineShape

参数

EmbedCode
String

视频的嵌入代码。

VideoWidth
Object

一个整数,表示 Web 视频的宽度(以像素为单位)。

VideoHeight
Object

一个整数,表示 Web 视频的高度(以像素为单位)。

PosterFrameImage
Object

指向要用作 Web 视频海报框架的文件的字符串。

Url
Object

视频的 URL。

Range
Object

插入 Web 视频的范围。 如果 Range 省略 ,则使用当前选择。

返回

适用于