
## SaveReport (1 of 2) {#savereport_1}

Saves the risk analysis report to the stream in PDF format.

**Returns:** void Aspose::Tasks::RiskAnalysis::

```cpp
SaveReport(const System::SharedPtr< System::IO::Stream > & stream)
```

| Parameter | Description |
| --- | --- |
| stream | The stream to save risk analysis report to. |

---

## SaveReport (2 of 2) {#savereport_2}

Saves the risk analysis report to the specified file path in PDF format.

**Returns:** void Aspose::Tasks::RiskAnalysis::

```cpp
SaveReport(const System::String & fileName)
```

| Parameter | Description |
| --- | --- |
| fileName | The specified file name. |

