Class TimeLineHelper
Contents
[
Hide
]TimeLineHelper class
TimeLineHelper to set property of timeline shape.
public class TimeLineHelper
Constructors
| Name | Description |
|---|---|
| TimeLineHelper(Shape) | TimeLineHelper. |
Properties
| Name | Description |
|---|---|
| ArrowHead { get; set; } | ArrowHead of timeline shape |
| BeginWeek { get; set; } | Begin week of timeline shape |
| DateFormatForBE { get; set; } | DateFormat for start and finish of timeline shape |
| DateFormatForIntm { get; set; } | DateFormat for Intm of timeline shape |
| DateFormatStringForBE { get; set; } | DateFormat String for start and finish of timeline shape |
| DateFormatStringForIntm { get; set; } | DateFormat String for Intm of timeline shape |
| FiscalStart { get; set; } | First day of fiscal year |
| IsAutoUpdate { get; set; } | whether to update data for markers (milestones, intervals) as they are moved on timeline |
| IsDisplayBE { get; set; } | whether to display Begin and End dates on timeline |
| IsDisplayIntm { get; set; } | whether to display interim date/time ticks on timeline |
| IsDisplayIntmDates { get; set; } | whether to display interim dates on interim ticks |
| TimeLineType { get; set; } | Begin week of timeline shape |
| TimePeriodFinish { get; set; } | Time Period for finish of timeline shape |
| TimePeriodStart { get; set; } | Time Period for start of timeline shape |
| TimeScale { get; set; } | scale of timeline shape |
Methods
| Name | Description |
|---|---|
| RefreshTimeLine() | Refresh time of timeline shapes |
| static GetDoubleStringFromDateTime(DateTime) | Convert the date time to double value. |
| static GetWeekEnd(DateTime, int) | getweekstart |
Remarks
Compatibility shell over TimeLineProperties: the public API is unchanged (plus getters for the previously write-only properties), the cell access is delegated to the properties class, and RefreshTimeLine is rewritten:
- The begin/end date text shapes are updated by position without skipping the last child, so the end-date text shape is updated as well.
- Master-instance markers (milestones, intervals) inside the period keep their field — the old code overwrote every master-instance child field with the start date. Out-of-range markers are deleted instead.
- Previously generated interim ticks are removed and regenerated with the interim User cells (visTLShape, visInterimType) that real timeline ticks carry, so they render as timeline ticks in Visio.
- Year-scale ticks land on January 1 boundaries, so ranges that cross a year boundary are no longer empty for spans under one year.
The internal SetDateFormat of the old implementation is gone; the format table lives in TimelineFormats (TimeLineProperties.cs) and is shared with MilestoneProperties.
See Also
- namespace Aspose.Diagram
- assembly Aspose.Diagram