| Overload | Description |
|---|---|
| SaveLayout(String) | Saves a report's XML layout to the specified file. |
| SaveLayout(Stream) | Saves a report's XML layout to the specified stream. |
| C# | Copy Code |
|---|---|
private void saveRPX() | |
| Visual Basic | Copy Code |
|---|---|
Dim rpt As New ActiveReport1() | |
The SaveLayout method uses UTF-16 encoding when you save to a stream, and UTF-8 encoding when you save to a file.
When using this method, any code behind the report is ignored. To embed code in the report, use Scripting.