ReportViewer for WPF and Silverlight | ComponentOne
C1.Silverlight.ReportViewer Namespace / C1ReportViewer Class / LoadDocumentFromString Method
A System.String containing an HTML document.
Example

In This Topic
    LoadDocumentFromString Method (C1ReportViewer)
    In This Topic
    Load an HTML document from a System.String.
    Syntax
    'Declaration
     
    Public Sub LoadDocumentFromString( _
       ByVal htmlString As String _
    ) 
    public void LoadDocumentFromString( 
       string htmlString
    )

    Parameters

    htmlString
    A System.String containing an HTML document.
    Example
    The code below loads a simple HTML document into the control:
    _c1ReportViewer.LoadDocumentFromString("<html>Hello <b>World</b>!</html>");
    See Also