Timeline

Timeline class

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

class Timeline;

Properties

PropertyTypeDescription
captionstringReturns or sets the caption of the specified Timeline.
shapeTimelineShapeReadonly. Returns the TimelineShape object associated with this Timeline. Read-only.
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
getCaption()@deprecated. Please use the ‘caption’ property instead. Returns or sets the caption of the specified Timeline.
setCaption(string)@deprecated. Please use the ‘caption’ property instead. Returns or sets the caption of the specified Timeline.
getShape()@deprecated. Please use the ‘shape’ property instead. Returns the TimelineShape object associated with this Timeline. Read-only.
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.

caption

Returns or sets the caption of the specified Timeline.

caption : string;

shape

Readonly. Returns the TimelineShape object associated with this Timeline. Read-only.

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.

getCaption()

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

getCaption() : string;

setCaption(string)

@deprecated. Please use the ‘caption’ property instead. Returns or sets the caption of the specified 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. Read-only.

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;