ComponentOne Document Library for UWP
LoadFromFileAsync Method

C1.UWP.Document Assembly > C1.Xaml.Document Namespace > C1PdfDocumentSource Class : LoadFromFileAsync Method
The source file.
Loads the PDF document from the specified file.
Syntax
'Declaration
 
Public Function LoadFromFileAsync( _
   ByVal storageFile As Windows.Storage.IStorageFile, _
   Optional ByVal password As System.String _
) As System.Threading.Tasks.Task
public System.Threading.Tasks.Task LoadFromFileAsync( 
   Windows.Storage.IStorageFile storageFile,
   System.string password
)

Parameters

storageFile
The source file.
password
See Also

Reference

C1PdfDocumentSource Class
C1PdfDocumentSource Members