Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.64 KB

mediacomposition_rendertofileasync_1565341453.md

File metadata and controls

34 lines (24 loc) · 1.64 KB
-api-id -api-type
M:Windows.Media.Editing.MediaComposition.RenderToFileAsync(Windows.Storage.IStorageFile,Windows.Media.Editing.MediaTrimmingPreference,Windows.Media.MediaProperties.MediaEncodingProfile)
winrt method

Windows.Media.Editing.MediaComposition.RenderToFileAsync

-description

Asynchronously renders the MediaComposition to a specified file using the indicated media trimming preference and encoding profile.

-parameters

-param destination

The file to which this MediaComposition is rendered.

-param trimmingPreference

Specifies whether to be fast or precise when trimming the media.

-param encodingProfile

Specifies the encoding profile to use for rendering the media.

-returns

An async operation which can be used to track the success or failure of the operation.

-remarks

This method saves the composition to a video file that can be played back with standard media players. If you want to save the composition as an XML file that can be loaded and modified in the future, use SaveAsync.

-examples

-see-also

RenderToFileAsync(IStorageFile), RenderToFileAsync(IStorageFile, MediaTrimmingPreference)