SoftwareBitmap.CreateCopyFromSurfaceAsync SoftwareBitmap.CreateCopyFromSurfaceAsync SoftwareBitmap.CreateCopyFromSurfaceAsync SoftwareBitmap.CreateCopyFromSurfaceAsync SoftwareBitmap.CreateCopyFromSurfaceAsync Method

Definition

Overloads

CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface)

Asynchronously creates a new SoftwareBitmap by performing a deep copy of the provided IDirect3DSurface. Modifications to the data in the new SoftwareBitmap will not effect the surface from which it was created.

CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode)

Asynchronously creates a new SoftwareBitmap by performing a deep copy of the provided IDirect3DSurface . Modifications to the data in the new SoftwareBitmap will not effect the surface from which it was created.

CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface) CreateCopyFromSurfaceAsync(IDirect3DSurface)

Asynchronously creates a new SoftwareBitmap by performing a deep copy of the provided IDirect3DSurface. Modifications to the data in the new SoftwareBitmap will not effect the surface from which it was created.

public : static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface)
static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface) const;
public static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface)
Public Shared Function CreateCopyFromSurfaceAsync(surface As IDirect3DSurface) As IAsyncOperation(Of SoftwareBitmap)
Windows.Graphics.Imaging.SoftwareBitmap.createCopyFromSurfaceAsync(surface).done( /* Your success and error handlers */ );

Parameters

surface
IDirect3DSurface IDirect3DSurface IDirect3DSurface

The source surface from which the copy will be created.

Returns

An asynchronous operation that returns a SoftwareBitmap on successful completion.

See also

CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode) CreateCopyFromSurfaceAsync(IDirect3DSurface, BitmapAlphaMode)

Asynchronously creates a new SoftwareBitmap by performing a deep copy of the provided IDirect3DSurface . Modifications to the data in the new SoftwareBitmap will not effect the surface from which it was created.

public : static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface, BitmapAlphaMode alpha)
static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface, BitmapAlphaMode alpha) const;
public static IAsyncOperation<SoftwareBitmap> CreateCopyFromSurfaceAsync(IDirect3DSurface surface, BitmapAlphaMode alpha)
Public Shared Function CreateCopyFromSurfaceAsync(surface As IDirect3DSurface, alpha As BitmapAlphaMode) As IAsyncOperation(Of SoftwareBitmap)
Windows.Graphics.Imaging.SoftwareBitmap.createCopyFromSurfaceAsync(surface, alpha).done( /* Your success and error handlers */ );

Parameters

surface
IDirect3DSurface IDirect3DSurface IDirect3DSurface

The source surface from which the copy will be created.

alpha
BitmapAlphaMode BitmapAlphaMode BitmapAlphaMode

The alpha mode of the software bitmap.

Returns

An asynchronous operation that returns a SoftwareBitmap on successful completion.

See also