## HttpUtility::HtmlDecode(const String\&) method


Decodes Html fragment.

```cpp
static String System::Web::HttpUtility::HtmlDecode(const String &str)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | Html fragment to decode. |

### ReturnValue

Decoded Html fragment.

## See Also

* Class [String](../../../system/string/)
* Class [HttpUtility](../)
* Namespace [System::Web](../../)
* Library [Aspose.PDF for C++](../../../)
## HttpUtility::HtmlDecode(const String\&, const SharedPtr\<IO::TextWriter\>\&) method


Decodes Html fragment.

```cpp
static void System::Web::HttpUtility::HtmlDecode(const String &str, const SharedPtr<IO::TextWriter> &output)
```


| Parameter | Type | Description |
| --- | --- | --- |
| str | const String\& | Html fragment to decode. |
| output | const SharedPtr\<IO::TextWriter\>\& | A TextWriter object for output. |

## See Also

* Class [String](../../../system/string/)
* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [TextWriter](../../../system.io/textwriter/)
* Class [HttpUtility](../)
* Namespace [System::Web](../../)
* Library [Aspose.PDF for C++](../../../)
