This document is archived and information here might be outdated. Recommended version. |
Informs the segment collection that any cached values that it may be maintaining (envelope, length, etc.) are invalid. Use this method after editing segments directly.
[Visual Basic .NET]
Public Sub SegmentsChanged ( _
)
[C#]
public void SegmentsChanged (
);
[C++]
HRESULT SegmentsChanged(
void
);
SegmentsChanged forces the SegmentCollection to recalculate any values that it has cached. SegmentsChanged should be used whenever the Segments in the SegmentCollection are modified without using the SegmentCollection methods. As long as the SegmentCollection is only modified using SegmentCollection methods, the cached values are current and consistent.