Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.22 KB

mediacomposition_rendertofileasync_1970129585.md

File metadata and controls

28 lines (20 loc) · 1.22 KB
-api-id -api-type
M:Windows.Media.Editing.MediaComposition.RenderToFileAsync(Windows.Storage.IStorageFile)
winrt method

Windows.Media.Editing.MediaComposition.RenderToFileAsync

-description

Asynchronously renders the MediaComposition to the specified file.

-parameters

-param destination

The file to which this MediaComposition is rendered.

-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, MediaTrimmingPreference), RenderToFileAsync(IStorageFile, MediaTrimmingPreference, MediaEncodingProfile)