## DateComponent class

Represents a base class for date components with a format attribute.

```csharp
public class DateComponent
```

## Constructors

| Name | Description |
| --- | --- |
| [DateComponent](datecomponent/)() | 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/datecomponent/getformat/)(char) | Returns a string composed of a specified character repeated based on the format. |

### See Also

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


