Overload | Description |
---|---|
LoadLayout(String) | Retrieves a report XML layout from a file and loads it into a report object. |
LoadLayout(String,ArrayList) | |
LoadLayout(Stream) | Retrieves a report XML layout from a stream and loads it into a report object. |
LoadLayout(Type,String) | Retrieves a report XML layout from a resource. For internal use. |
C# | Copy Code |
---|---|
private void loadRPX() |
Visual Basic | Copy Code |
---|---|
Dim rpt As New ActiveReport1() |
If you are loading the RPX into an existing ActiveReports for .NET project, you must first add a new blank report to your project so that any existing reports will not be overwritten by the loaded file. Also, when using this method, any code behind the report is ignored. To embed code in the report, use Scripting.