
**Inheritance:**
java.lang.Object, [com.aspose.tasks.View](../../com.aspose.tasks/view)
```
public class TimelineView extends View
```

Represents a timeline view of a project.
## Constructors

| Constructor | Description |
| --- | --- |
| [TimelineView()](#TimelineView--) | Initializes a new instance of the [TimelineView](../../com.aspose.tasks/timelineview) class. |
## Methods

| Method | Description |
| --- | --- |
| [getDateFormat()](#getDateFormat--) | Gets a value indicating how to format dates on the Timeline view. |
| [getDisplayOverlapped()](#getDisplayOverlapped--) | Gets a value indicating whether to display overlapped tasks on multiple rows. |
| [getShowDates()](#getShowDates--) | Gets a value indicating whether to show dates. |
| [getShowPanZoom()](#getShowPanZoom--) | Gets a value indicating whether to show pan and zoom control. |
| [getShowTimescale()](#getShowTimescale--) | Gets a value indicating whether to show timescale. |
| [getShowToday()](#getShowToday--) | Gets a value indicating whether to display a line representing today. |
| [getTextLinesCount()](#getTextLinesCount--) | Gets a value indicating how many lines are used to display task in a timeline. |
| [setDateFormat(int value)](#setDateFormat-int-) | Sets a value indicating how to format dates on the Timeline view. |
| [setDisplayOverlapped(boolean value)](#setDisplayOverlapped-boolean-) | Sets a value indicating whether to display overlapped tasks on multiple rows. |
| [setShowPanZoom(boolean value)](#setShowPanZoom-boolean-) | Sets a value indicating whether to show pan and zoom control. |
| [setShowTimescale(boolean value)](#setShowTimescale-boolean-) | Sets a value indicating whether to show timescale. |
| [setShowToday(boolean value)](#setShowToday-boolean-) | Sets a value indicating whether to display a line representing today. |
| [setTextLinesCount(int value)](#setTextLinesCount-int-) | Sets a value indicating how many lines are used to display task in a timeline. |
### TimelineView() {#TimelineView--}
```
public TimelineView()
```


Initializes a new instance of the [TimelineView](../../com.aspose.tasks/timelineview) class.

### getDateFormat() {#getDateFormat--}
```
public final int getDateFormat()
```


Gets a value indicating how to format dates on the Timeline view.

**Returns:**
int - a value indicating how to format dates on the Timeline view.
### getDisplayOverlapped() {#getDisplayOverlapped--}
```
public final boolean getDisplayOverlapped()
```


Gets a value indicating whether to display overlapped tasks on multiple rows.

**Returns:**
boolean - a value indicating whether to display overlapped tasks on multiple rows.
### getShowDates() {#getShowDates--}
```
public final boolean getShowDates()
```


Gets a value indicating whether to show dates.

**Returns:**
boolean - a value indicating whether to show dates.
### getShowPanZoom() {#getShowPanZoom--}
```
public final boolean getShowPanZoom()
```


Gets a value indicating whether to show pan and zoom control.

**Returns:**
boolean - a value indicating whether to show pan and zoom control.
### getShowTimescale() {#getShowTimescale--}
```
public final boolean getShowTimescale()
```


Gets a value indicating whether to show timescale.

**Returns:**
boolean - a value indicating whether to show timescale.
### getShowToday() {#getShowToday--}
```
public final boolean getShowToday()
```


Gets a value indicating whether to display a line representing today.

**Returns:**
boolean - a value indicating whether to display a line representing today.
### getTextLinesCount() {#getTextLinesCount--}
```
public final int getTextLinesCount()
```


Gets a value indicating how many lines are used to display task in a timeline.

**Returns:**
int - a value indicating how many lines are used to display task in a timeline.
### setDateFormat(int value) {#setDateFormat-int-}
```
public final void setDateFormat(int value)
```


Sets a value indicating how to format dates on the Timeline view.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | a value indicating how to format dates on the Timeline view. |

### setDisplayOverlapped(boolean value) {#setDisplayOverlapped-boolean-}
```
public final void setDisplayOverlapped(boolean value)
```


Sets a value indicating whether to display overlapped tasks on multiple rows.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to display overlapped tasks on multiple rows. |

### setShowPanZoom(boolean value) {#setShowPanZoom-boolean-}
```
public final void setShowPanZoom(boolean value)
```


Sets a value indicating whether to show pan and zoom control.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to show pan and zoom control. |

### setShowTimescale(boolean value) {#setShowTimescale-boolean-}
```
public final void setShowTimescale(boolean value)
```


Sets a value indicating whether to show timescale.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to show timescale. |

### setShowToday(boolean value) {#setShowToday-boolean-}
```
public final void setShowToday(boolean value)
```


Sets a value indicating whether to display a line representing today.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | boolean | a value indicating whether to display a line representing today. |

### setTextLinesCount(int value) {#setTextLinesCount-int-}
```
public final void setTextLinesCount(int value)
```


Sets a value indicating how many lines are used to display task in a timeline.

**Parameters:**
| Parameter | Type | Description |
| --- | --- | --- |
| value | int | a value indicating how many lines are used to display task in a timeline. |

