ActiveReports 18 .NET Edition
MESCIUS.ActiveReports Assembly / GrapeCity.ActiveReports Namespace / SectionReport Class / LoadLayout Method / LoadLayout(Stream) Method

A stream that contains a valid report XML layout.


In This Topic
    LoadLayout(Stream) Method
    In This Topic

    This overload has been deprecated. Please use the new LoadLayout(XmlReader) overload.

    Syntax
    'Declaration
     
    Public Overloads Sub LoadLayout( _
       ByVal stream As Stream _
    ) 
    public void LoadLayout( 
       Stream stream
    )

    Parameters

    stream

    A stream that contains a valid report XML layout.

    Remarks
    This method can be executed for any existing report class (code type). However, in such cases, all the layout related information defined in existing report class is cleared and gets updated with the loaded RPX file content. Due to this reason, any code (example: Me.textBox1.Text = "ABC") that directly tries to access a control on a report and is defined in the existing report class is ignored. For event related code implementations, it is possible to embed the code in RPX file. In this case, please use Scripting.
    See Also