Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

MediaComposition.GeneratePreviewMediaStreamSource(Int32, Int32) Method

Definition

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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


Feedback

Was this page helpful?