ActiveReports 6 Online Help
LoadLayout(String) Method

Report layout (RPX) file name.

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

Syntax
'Declaration
 
Public Overloads Sub LoadLayout( _
   ByVal fileName As String _
) 
public void LoadLayout( 
   string fileName
)

Parameters

fileName
Report layout (RPX) file name.
Remarks

This method is typically used to load stand-alone report layouts which can be distributed and updated separately from the application's assemblies.

The LoadLayout(String) method uses the UTF-8 encoding when loading a file.

When using this method, any code behind the report is ignored. To embed code in the report, use Scripting.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ActiveReport Class
ActiveReport Members
Overload List

Concepts

Scripting

Send Feedback