ReportViewer for WPF and Silverlight | ComponentOne
C1.WPF.ReportViewer Namespace / C1ReportViewer Class / LoadDocument Method / LoadDocument(String,String) Method
The name of the file that contains the PDF or HTML document.
A user password for a a PDF document.

In This Topic
    LoadDocument(String,String) Method
    In This Topic
    Load a PDF or HMTL document from a file.
    Syntax
    'Declaration
     
    Public Overloads Sub LoadDocument( _
       ByVal fileName As String, _
       Optional ByVal password As String _
    ) 
    public void LoadDocument( 
       string fileName,
       string password
    )

    Parameters

    fileName
    The name of the file that contains the PDF or HTML document.
    password
    A user password for a a PDF document.
    Remarks
    To load a document from an HTML string, use the LoadDocumentFromString method.
    See Also