Skip to content

Latest commit

 

History

History
29 lines (20 loc) · 1.17 KB

mediacomposition_saveasync_389603876.md

File metadata and controls

29 lines (20 loc) · 1.17 KB
-api-id -api-type
M:Windows.Media.Editing.MediaComposition.SaveAsync(Windows.Storage.IStorageFile)
winrt method

Windows.Media.Editing.MediaComposition.SaveAsync

-description

Asynchronously serializes the MediaComposition to disk so that it can be loaded and modified in the future.

-parameters

-param file

The file to which the MediaComposition is saved.

-returns

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

-remarks

This method saves the composition as an XML file containing metadata about the composition such as the source media files, arrangement of clips, overlays, and effects applied to the composition. A new media composition can be created from the saved XML file by calling LoadAsync.

To render a media composition as a video file so that it can be played back by standard media players, use the RenderToFileAsync method.

-examples

-see-also