PdfPage.RenderToStreamAsync Method

Definition

Overloads

RenderToStreamAsync(IRandomAccessStream)

Outputs a stream of data, which represents a Portable Document Format (PDF) page's contents, as an asynchronous action. This asynchronous action can be used to create an image of the Portable Document Format (PDF) page.

RenderToStreamAsync(IRandomAccessStream, PdfPageRenderOptions)

Takes a set of display settings, applies them to the output of a Portable Document Format (PDF) page's contents, and creates a stream with the customized, rendered output as an asynchronous action. This asynchronous action can be used to create a customized display image of the Portable Document Format (PDF) page.

RenderToStreamAsync(IRandomAccessStream)

Outputs a stream of data, which represents a Portable Document Format (PDF) page's contents, as an asynchronous action. This asynchronous action can be used to create an image of the Portable Document Format (PDF) page.

public:
 virtual IAsyncAction ^ RenderToStreamAsync(IRandomAccessStream ^ outputStream) = RenderToStreamAsync;
/// [Windows.Foundation.Metadata.Overload("RenderToStreamAsync")]
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncAction RenderToStreamAsync(IRandomAccessStream const& outputStream);
[Windows.Foundation.Metadata.Overload("RenderToStreamAsync")]
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncAction RenderToStreamAsync(IRandomAccessStream outputStream);
function renderToStreamAsync(outputStream)
Public Function RenderToStreamAsync (outputStream As IRandomAccessStream) As IAsyncAction

Parameters

outputStream
IRandomAccessStream

The stream of data, which represents a Portable Document Format (PDF) page's content.

Returns

The asynchronous action.

Attributes

See also

Applies to

RenderToStreamAsync(IRandomAccessStream, PdfPageRenderOptions)

Takes a set of display settings, applies them to the output of a Portable Document Format (PDF) page's contents, and creates a stream with the customized, rendered output as an asynchronous action. This asynchronous action can be used to create a customized display image of the Portable Document Format (PDF) page.

public:
 virtual IAsyncAction ^ RenderToStreamAsync(IRandomAccessStream ^ outputStream, PdfPageRenderOptions ^ options) = RenderToStreamAsync;
/// [Windows.Foundation.Metadata.Overload("RenderWithOptionsToStreamAsync")]
IAsyncAction RenderToStreamAsync(IRandomAccessStream const& outputStream, PdfPageRenderOptions const& options);
[Windows.Foundation.Metadata.Overload("RenderWithOptionsToStreamAsync")]
public IAsyncAction RenderToStreamAsync(IRandomAccessStream outputStream, PdfPageRenderOptions options);
function renderToStreamAsync(outputStream, options)
Public Function RenderToStreamAsync (outputStream As IRandomAccessStream, options As PdfPageRenderOptions) As IAsyncAction

Parameters

outputStream
IRandomAccessStream

The stream of data, which represents a Portable Document Format (PDF) page's contents.

options
PdfPageRenderOptions

The requested set of display settings to apply to the display image that is output based on the Portable Document Format (PDF) page.

Returns

The asynchronous action.

Attributes

See also

Applies to