InlineShapes.AddWebVideo 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向文档添加新的 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
省略 ,则使用当前选择。
返回
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈