Segment.Stop
![]() |
The Stop method stops all instances of the segment that are playing.
object.Stop [iFlags]
Parts
object
Required. Object expression that resolves to a Segment Object.
iFlags
Optional. Integer that specifies flags. Can include one of the playback time flags, which control when the segment stops in relation to boundaries of the currently playing primary segment. If no playback time flag is specified, then playback will stop according to the performance boundary authored in the segment. Can also include a transition flag. Multiple flags are combined by adding them together.
Playback Time Flag | Description |
AtGrid | Segment ends at the next grid. |
AtBeat | Segment ends at the next beat. |
AtMeasure | Segment ends at the next measure. |
AtImmediate | Segment ends immediately. |
Transition Flag | Description |
PlayEnd | Play an End transition. Only valid for a primary segment. If the segment does not contain such a transition, no transition is played. |
See Also