---
title: "Enum HeadingStyle"
url: "https://reference.aspose.com/pdf/net/aspose.pdf/headingstyle/"
product: "Aspose.PDF for .NET API Reference"
description: "Aspose.Pdf.HeadingStyle enum. Defines the available serialization styles for headings. For specification see CommonMark  ATX headings respectively CommonMark  Setext headings"
---

## HeadingStyle enumeration

Defines the available serialization styles for headings. For specification see CommonMark - ATX headings, respectively CommonMark - Setext headings.

```csharp
public enum HeadingStyle
```

### Values

| Name | Value | Description |
| --- | --- | --- |
| Atx | `0` | Prefix headings with '#' |
| Setext | `1` | Underscore level 1 and 2 headings with "======" respectively "------" |

### See Also

* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


