PdfDocument.LoadFromStreamAsync PdfDocument.LoadFromStreamAsync PdfDocument.LoadFromStreamAsync PdfDocument.LoadFromStreamAsync PdfDocument.LoadFromStreamAsync Method

Definition

Overloads

LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream)

Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a Portable Document Format (PDF) document in the file system.

LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String)

Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a Portable Document Format (PDF) document in the file system. Use this method if the Portable Document Format (PDF) document is password-protected.

LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream) LoadFromStreamAsync(IRandomAccessStream)

Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a Portable Document Format (PDF) document in the file system.

public : static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream)
static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream) const;
public static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream)
Public Shared Function LoadFromStreamAsync(inputStream As IRandomAccessStream) As IAsyncOperation(Of PdfDocument)
Windows.Data.Pdf.PdfDocument.loadFromStreamAsync(inputStream).done( /* Your success and error handlers */ );

Parameters

inputStream
IRandomAccessStream IRandomAccessStream IRandomAccessStream

The stream of data, which represents a Portable Document Format (PDF) document.

Returns

See also

LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String) LoadFromStreamAsync(IRandomAccessStream, String)

Creates a PdfDocument object, representing a Portable Document Format (PDF) document, from a stream of data that represents a Portable Document Format (PDF) document in the file system. Use this method if the Portable Document Format (PDF) document is password-protected.

public : static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream, Platform::String password)
static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream, winrt::hstring password) const;
public static IAsyncOperation<PdfDocument> LoadFromStreamAsync(IRandomAccessStream inputStream, String password)
Public Shared Function LoadFromStreamAsync(inputStream As IRandomAccessStream, password As String) As IAsyncOperation(Of PdfDocument)
Windows.Data.Pdf.PdfDocument.loadFromStreamAsync(inputStream, password).done( /* Your success and error handlers */ );

Parameters

inputStream
IRandomAccessStream IRandomAccessStream IRandomAccessStream

The stream of data, which represents a Portable Document Format (PDF) document.

password
String String String

The password to open the Portable Document Format (PDF) document, if it requires one.

Returns

Remarks

If the Portable Document Format (PDF) document does not require a password, this method ignores it.

This method returns an ERROR_WRONG_PASSWORD error if the wrong password is specified.

See also