Skip to content

Latest commit

 

History

History
33 lines (23 loc) · 1.51 KB

bitmapencoder_createasync_415643468.md

File metadata and controls

33 lines (23 loc) · 1.51 KB
-api-id -api-type
M:Windows.Graphics.Imaging.BitmapEncoder.CreateAsync(System.Guid,Windows.Storage.Streams.IRandomAccessStream,Windows.Foundation.Collections.IIterable{Windows.Foundation.Collections.IKeyValuePair{System.String,Windows.Graphics.Imaging.BitmapTypedValue}})
winrt method

Windows.Graphics.Imaging.BitmapEncoder.CreateAsync

-description

Asynchronously creates a new BitmapEncoder for the specified codec with the specified encoding options and initializes it on a stream.

-parameters

-param encoderId

The unique identifier of the specified encoder.

-param stream

A stream representing where the image file is to be written.

-param encodingOptions

A collection of key-value pairs containing one or more codec-specific encoding options and the desired values.

-returns

An object that manages the asynchronous creation of a new BitmapEncoder.

-remarks

-examples

-see-also

BitmapPropertySet, BitmapTypedValue, Imaging, CreateAsync(Guid, IRandomAccessStream)