Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 1.32 KB

softwarebitmap_createcopyfrombuffer_1251135091.md

File metadata and controls

39 lines (27 loc) · 1.32 KB
-api-id -api-type
M:Windows.Graphics.Imaging.SoftwareBitmap.CreateCopyFromBuffer(Windows.Storage.Streams.IBuffer,Windows.Graphics.Imaging.BitmapPixelFormat,System.Int32,System.Int32,Windows.Graphics.Imaging.BitmapAlphaMode)
winrt method

Windows.Graphics.Imaging.SoftwareBitmap.CreateCopyFromBuffer

-description

Creates a new SoftwareBitmap by performing a deep copy of the provided buffer. Modifications to the data in the new SoftwareBitmap will not effect the buffer from which it was created.

-parameters

-param source

The source buffer from which the copy will be created.

-param format

The pixel format of the software bitmap.

-param width

The width of the software bitmap, in pixels.

-param height

The height of the software bitmap, in pixels.

-param alpha

The alpha mode of the software bitmap.

-returns

The new software bitmap.

-remarks

-examples

-see-also

CreateCopyFromBuffer(IBuffer, BitmapPixelFormat, Int32, Int32)