Microsoft DirectX 9.0

AMTimelineGroup.SetPreviewMode Method

The SetPreviewMode method sets the preview mode for the group.

Syntax

object.SetPreviewMode(
    fPreview As Long
)

Parameters

fPreview

Value that specifies the preview mode. If zero, the group is in authoring mode. If non-zero, the group is in preview mode.

Error Codes

If the method fails, an error is raised.

Remarks

In preview mode, frames are dropped during slow effects or transitions to keep the video synchronized with the audio. The video might look choppy as a result. In authoring mode, every frame is rendered. Authoring mode is appropriate for writing files; for on-screen preview, the video might be out of sync with the audio.

See Also