Share via


PlayingSegment.Stop

Windows Media Encoder SDK banner art

The Stop method stops this instance of the segment.

object.Stop [iFlags] 

Parts

object

Required. Object expression that resolves to a PlayingSegment Object.

iFlags

Optional. Integer value specifying the stop point in relation to the currently playing primary segment. If no flag is specified, playback stops at the boundary authored in the segment. In addition, the NoCutoff flag can be combined with any stop point. The following flags are defined.

Flag Description
AtGrid Stop at the next grid.
AtBeat Stop at the next beat.
AtMeasure Stop at the next measure.
AtMarker Stop at the next marker.
AtImmediate Stop immediately.
NoCutoff Do not invalidate notes currently playing.

Remarks

Calling this method on a stopped segment has no effect. Calling it on a segment that is cued to play causes the segment not to start.

See Also