Share via


MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) Method

Definition

Creates a new MediaStreamSource used to preview the edited media.

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

Parameters

scaledWidth
Int32

int

The width of the preview media.

scaledHeight
Int32

int

The height of the preview media.

Returns

The new MediaStreamSource used to preview the edited media.

Applies to