## PageDate.MonthComponent class

Represents the month component of a date.

```csharp
public class MonthComponent : DateComponent
```

## Constructors

| Name | Description |
| --- | --- |
| [MonthComponent](../../aspose.pdf/pagedate.monthcomponent/.ctor)() | The default constructor. |

## Properties

| Name | Description |
| --- | --- |
| [Format](../../aspose.pdf/datecomponent/format/) { get; set; } | Gets or sets the format for the date component. |

## Methods

| Name | Description |
| --- | --- |
| [GetFormat](../../aspose.pdf/pagedate.monthcomponent/getformat#getformat)() | Gets the format string for the month component. |
| [GetFormat](../../aspose.pdf/datecomponent/getformat/)(char) | Returns a string composed of a specified character repeated based on the format. |

### See Also

* class [DateComponent](../datecomponent/)
* class [PageDate](../pagedate/)
* namespace [Aspose.Pdf](../../aspose.pdf/)
* assembly [Aspose.PDF](../../)


