Class MilestoneHelper
Contents
[
Hide
]MilestoneHelper class
MilestoneHelper to set property of milestone shape.
public class MilestoneHelper
Constructors
| Name | Description |
|---|---|
| MilestoneHelper(Shape) | MilestoneHelper. |
Properties
| Name | Description |
|---|---|
| DateFormat { get; set; } | DateFormat of shape (0 - 30) |
| IsAutoUpdate { get; set; } | whether to update data for markers (milestones, intervals) as they are moved on timeline |
| MilestoneDate { get; set; } | Milestone date |
| Type { get; set; } | Type of shape (0 = Circle … 8 = Pin) |
Methods
| Name | Description |
|---|---|
| RefreshMilestone(Shape) | Refresh milestone |
Remarks
Compatibility shell over MilestoneProperties: the public API is unchanged (plus getters for the previously write-only properties), the cell access is delegated to the properties class, and RefreshMilestone is rewritten:
- Children without a master no longer crash the refresh (the old code dereferenced child.MasterShape unconditionally).
- An existing local date field is updated in place; the old code appended a new field on every refresh.
- Positioning reads the timeline’s left edge from XForm (the old code read XForm1D.BeginX, which does not exist on a 2-D group shape) and sorts the dated children with two parallel arrays instead of the SortedStringList, which has no Java counterpart.
See Also
- namespace Aspose.Diagram
- assembly Aspose.Diagram