---
title: "AmpComponent.ToHtml"
url: "https://reference.aspose.com/email/net/aspose.email.amp/ampcomponent/tohtml/"
product: "Aspose.Email for .NET API Reference"
description: "AmpComponent method. Represents html version of component"
---

## AmpComponent.ToHtml method

Represents html version of component.

```csharp
public abstract string ToHtml()
```

### See Also

* class [AmpComponent](../)
* namespace [Aspose.Email.Amp](../../ampcomponent/)
* assembly [Aspose.Email](../../../)


