IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) IWebViewControl.CapturePreviewToStreamAsync(IRandomAccessStream) Method

Definition

Creates an image of the current IWebViewControl contents and writes it to the specified stream.

public : IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream stream)
IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream stream) const;
public IAsyncAction CapturePreviewToStreamAsync(IRandomAccessStream stream)
Public Function CapturePreviewToStreamAsync(stream As IRandomAccessStream) As IAsyncAction
Windows.Web.UI.IWebViewControl.capturePreviewToStreamAsync(stream).done( /* Your success and error handlers */ );

Parameters

stream
IRandomAccessStream IRandomAccessStream IRandomAccessStream

The stream to write the image to.

Returns

An asynchronous action to await the capture operation.