MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) 方法

定义

创建用于预览已编辑媒体的新 MediaStreamSource

public:
 virtual MediaStreamSource ^ GeneratePreviewMediaStreamSource(int scaledWidth, int scaledHeight) = GeneratePreviewMediaStreamSource;
MediaStreamSource GeneratePreviewMediaStreamSource(int const& scaledWidth, int const& scaledHeight);
public MediaStreamSource GeneratePreviewMediaStreamSource(int scaledWidth, int scaledHeight);
function generatePreviewMediaStreamSource(scaledWidth, scaledHeight)
Public Function GeneratePreviewMediaStreamSource (scaledWidth As Integer, scaledHeight As Integer) As MediaStreamSource

参数

scaledWidth
Int32

int

预览媒体的宽度。

scaledHeight
Int32

int

预览媒体的高度。

返回

用于预览已编辑媒体的新 MediaStreamSource

适用于