-api-id | -api-type |
---|---|
M:Windows.Media.Editing.MediaComposition.RenderToFileAsync(Windows.Storage.IStorageFile) |
winrt method |
Asynchronously renders the MediaComposition to the specified file.
The file to which this MediaComposition is rendered.
An async operation which can be used to track the success or failure of the operation.
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.
RenderToFileAsync(IStorageFile, MediaTrimmingPreference), RenderToFileAsync(IStorageFile, MediaTrimmingPreference, MediaEncodingProfile)