Timeline

Timeline class

Summary description of Timeline View Due to MS Excel, Excel 2003 does not support Timeline

class Timeline;

Properties

PropertyTypeDescription
showHeaderbooleanIndicates whether to display the header.
showSelectionLabelbooleanIndicates whether to display the selction label.
showTimeLevelbooleanIndicates whether to display the time level.
showHorizontalScrollbarbooleanIndicates whether to display the horizontal ccroll bar.
startDateDateGets and sets the start date of the timespan scrolling position of this Timeline.
currentLevelTimelineLevelTypeThe current time level of the Timeline.
selectionLevelTimelineLevelTypeGets and sets the time level at which the current selection was made for the Timeline.
captionstringGets or sets the caption of this Timeline.
shapeTimelineShapeReadonly. Returns the TimelineShape object associated with this Timeline.
namestringReturns or sets the name of the specified Timeline
leftPixelnumberReturns or sets the horizontal offset of timeline shape from its left column, in pixels.
topPixelnumberReturns or sets the vertical offset of timeline shape from its top row, in pixels.
widthPixelnumberReturns or sets the width of the specified timeline, in pixels.
heightPixelnumberReturns or sets the height of the specified timeline, in pixels.

Methods

MethodDescription
getShowHeader()@deprecated. Please use the ‘showHeader’ property instead. Indicates whether to display the header.
setShowHeader(boolean)@deprecated. Please use the ‘showHeader’ property instead. Indicates whether to display the header.
getShowSelectionLabel()@deprecated. Please use the ‘showSelectionLabel’ property instead. Indicates whether to display the selction label.
setShowSelectionLabel(boolean)@deprecated. Please use the ‘showSelectionLabel’ property instead. Indicates whether to display the selction label.
getShowTimeLevel()@deprecated. Please use the ‘showTimeLevel’ property instead. Indicates whether to display the time level.
setShowTimeLevel(boolean)@deprecated. Please use the ‘showTimeLevel’ property instead. Indicates whether to display the time level.
getShowHorizontalScrollbar()@deprecated. Please use the ‘showHorizontalScrollbar’ property instead. Indicates whether to display the horizontal ccroll bar.
setShowHorizontalScrollbar(boolean)@deprecated. Please use the ‘showHorizontalScrollbar’ property instead. Indicates whether to display the horizontal ccroll bar.
getStartDate()@deprecated. Please use the ‘startDate’ property instead. Gets and sets the start date of the timespan scrolling position of this Timeline.
setStartDate(Date)@deprecated. Please use the ‘startDate’ property instead. Gets and sets the start date of the timespan scrolling position of this Timeline.
getCurrentLevel()@deprecated. Please use the ‘currentLevel’ property instead. The current time level of the Timeline.
setCurrentLevel(TimelineLevelType)@deprecated. Please use the ‘currentLevel’ property instead. The current time level of the Timeline.
getSelectionLevel()@deprecated. Please use the ‘selectionLevel’ property instead. Gets and sets the time level at which the current selection was made for the Timeline.
setSelectionLevel(TimelineLevelType)@deprecated. Please use the ‘selectionLevel’ property instead. Gets and sets the time level at which the current selection was made for the Timeline.
getCaption()@deprecated. Please use the ‘caption’ property instead. Gets or sets the caption of this Timeline.
setCaption(string)@deprecated. Please use the ‘caption’ property instead. Gets or sets the caption of this Timeline.
getShape()@deprecated. Please use the ‘shape’ property instead. Returns the TimelineShape object associated with this Timeline.
getName()@deprecated. Please use the ’name’ property instead. Returns or sets the name of the specified Timeline
setName(string)@deprecated. Please use the ’name’ property instead. Returns or sets the name of the specified Timeline
getLeftPixel()@deprecated. Please use the ’leftPixel’ property instead. Returns or sets the horizontal offset of timeline shape from its left column, in pixels.
setLeftPixel(number)@deprecated. Please use the ’leftPixel’ property instead. Returns or sets the horizontal offset of timeline shape from its left column, in pixels.
getTopPixel()@deprecated. Please use the ’topPixel’ property instead. Returns or sets the vertical offset of timeline shape from its top row, in pixels.
setTopPixel(number)@deprecated. Please use the ’topPixel’ property instead. Returns or sets the vertical offset of timeline shape from its top row, in pixels.
getWidthPixel()@deprecated. Please use the ‘widthPixel’ property instead. Returns or sets the width of the specified timeline, in pixels.
setWidthPixel(number)@deprecated. Please use the ‘widthPixel’ property instead. Returns or sets the width of the specified timeline, in pixels.
getHeightPixel()@deprecated. Please use the ‘heightPixel’ property instead. Returns or sets the height of the specified timeline, in pixels.
setHeightPixel(number)@deprecated. Please use the ‘heightPixel’ property instead. Returns or sets the height of the specified timeline, in pixels.
isNull()Checks whether the implementation object is null.

showHeader

Indicates whether to display the header.

showHeader : boolean;

showSelectionLabel

Indicates whether to display the selction label.

showSelectionLabel : boolean;

showTimeLevel

Indicates whether to display the time level.

showTimeLevel : boolean;

showHorizontalScrollbar

Indicates whether to display the horizontal ccroll bar.

showHorizontalScrollbar : boolean;

startDate

Gets and sets the start date of the timespan scrolling position of this Timeline.

startDate : Date;

currentLevel

The current time level of the Timeline.

currentLevel : TimelineLevelType;

selectionLevel

Gets and sets the time level at which the current selection was made for the Timeline.

selectionLevel : TimelineLevelType;

caption

Gets or sets the caption of this Timeline.

caption : string;

shape

Readonly. Returns the TimelineShape object associated with this Timeline.

shape : TimelineShape;

name

Returns or sets the name of the specified Timeline

name : string;

leftPixel

Returns or sets the horizontal offset of timeline shape from its left column, in pixels.

leftPixel : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Left property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

topPixel

Returns or sets the vertical offset of timeline shape from its top row, in pixels.

topPixel : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Top property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

widthPixel

Returns or sets the width of the specified timeline, in pixels.

widthPixel : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Width property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

heightPixel

Returns or sets the height of the specified timeline, in pixels.

heightPixel : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Height property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

getShowHeader()

@deprecated. Please use the ‘showHeader’ property instead. Indicates whether to display the header.

getShowHeader() : boolean;

setShowHeader(boolean)

@deprecated. Please use the ‘showHeader’ property instead. Indicates whether to display the header.

setShowHeader(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getShowSelectionLabel()

@deprecated. Please use the ‘showSelectionLabel’ property instead. Indicates whether to display the selction label.

getShowSelectionLabel() : boolean;

setShowSelectionLabel(boolean)

@deprecated. Please use the ‘showSelectionLabel’ property instead. Indicates whether to display the selction label.

setShowSelectionLabel(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getShowTimeLevel()

@deprecated. Please use the ‘showTimeLevel’ property instead. Indicates whether to display the time level.

getShowTimeLevel() : boolean;

setShowTimeLevel(boolean)

@deprecated. Please use the ‘showTimeLevel’ property instead. Indicates whether to display the time level.

setShowTimeLevel(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getShowHorizontalScrollbar()

@deprecated. Please use the ‘showHorizontalScrollbar’ property instead. Indicates whether to display the horizontal ccroll bar.

getShowHorizontalScrollbar() : boolean;

setShowHorizontalScrollbar(boolean)

@deprecated. Please use the ‘showHorizontalScrollbar’ property instead. Indicates whether to display the horizontal ccroll bar.

setShowHorizontalScrollbar(value: boolean) : void;

Parameters:

ParameterTypeDescription
valuebooleanThe value to set.

getStartDate()

@deprecated. Please use the ‘startDate’ property instead. Gets and sets the start date of the timespan scrolling position of this Timeline.

getStartDate() : Date;

setStartDate(Date)

@deprecated. Please use the ‘startDate’ property instead. Gets and sets the start date of the timespan scrolling position of this Timeline.

setStartDate(value: Date) : void;

Parameters:

ParameterTypeDescription
valueDateThe value to set.

getCurrentLevel()

@deprecated. Please use the ‘currentLevel’ property instead. The current time level of the Timeline.

getCurrentLevel() : TimelineLevelType;

Returns

TimelineLevelType

setCurrentLevel(TimelineLevelType)

@deprecated. Please use the ‘currentLevel’ property instead. The current time level of the Timeline.

setCurrentLevel(value: TimelineLevelType) : void;

Parameters:

ParameterTypeDescription
valueTimelineLevelTypeThe value to set.

getSelectionLevel()

@deprecated. Please use the ‘selectionLevel’ property instead. Gets and sets the time level at which the current selection was made for the Timeline.

getSelectionLevel() : TimelineLevelType;

Returns

TimelineLevelType

setSelectionLevel(TimelineLevelType)

@deprecated. Please use the ‘selectionLevel’ property instead. Gets and sets the time level at which the current selection was made for the Timeline.

setSelectionLevel(value: TimelineLevelType) : void;

Parameters:

ParameterTypeDescription
valueTimelineLevelTypeThe value to set.

getCaption()

@deprecated. Please use the ‘caption’ property instead. Gets or sets the caption of this Timeline.

getCaption() : string;

setCaption(string)

@deprecated. Please use the ‘caption’ property instead. Gets or sets the caption of this Timeline.

setCaption(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getShape()

@deprecated. Please use the ‘shape’ property instead. Returns the TimelineShape object associated with this Timeline.

getShape() : TimelineShape;

Returns

TimelineShape

getName()

@deprecated. Please use the ’name’ property instead. Returns or sets the name of the specified Timeline

getName() : string;

setName(string)

@deprecated. Please use the ’name’ property instead. Returns or sets the name of the specified Timeline

setName(value: string) : void;

Parameters:

ParameterTypeDescription
valuestringThe value to set.

getLeftPixel()

@deprecated. Please use the ’leftPixel’ property instead. Returns or sets the horizontal offset of timeline shape from its left column, in pixels.

getLeftPixel() : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Left property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

setLeftPixel(number)

@deprecated. Please use the ’leftPixel’ property instead. Returns or sets the horizontal offset of timeline shape from its left column, in pixels.

setLeftPixel(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Left property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

getTopPixel()

@deprecated. Please use the ’topPixel’ property instead. Returns or sets the vertical offset of timeline shape from its top row, in pixels.

getTopPixel() : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Top property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

setTopPixel(number)

@deprecated. Please use the ’topPixel’ property instead. Returns or sets the vertical offset of timeline shape from its top row, in pixels.

setTopPixel(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Top property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

getWidthPixel()

@deprecated. Please use the ‘widthPixel’ property instead. Returns or sets the width of the specified timeline, in pixels.

getWidthPixel() : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Width property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

setWidthPixel(number)

@deprecated. Please use the ‘widthPixel’ property instead. Returns or sets the width of the specified timeline, in pixels.

setWidthPixel(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Width property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

getHeightPixel()

@deprecated. Please use the ‘heightPixel’ property instead. Returns or sets the height of the specified timeline, in pixels.

getHeightPixel() : number;

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Height property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

setHeightPixel(number)

@deprecated. Please use the ‘heightPixel’ property instead. Returns or sets the height of the specified timeline, in pixels.

setHeightPixel(value: number) : void;

Parameters:

ParameterTypeDescription
valuenumberThe value to set.

Remarks

NOTE: This member is now obsolete. Instead, please use Shape.Height property. This property will be removed 12 months later since May 2025. Aspose apologizes for any inconvenience you may have experienced.

isNull()

Checks whether the implementation object is null.

isNull() : boolean;