VidStudio SDK reference
    Preparing search index...

    Interface PlaceOptions

    interface PlaceOptions {
        durationSec?: number;
        linkWithClipId?: string;
        sourceOffsetSec?: number;
        startSec?: number;
        withLinkedSound?: boolean;
    }
    Index
    durationSec?: number
    linkWithClipId?: string

    A clip already on the timeline that the new clip is the picture or the sound of; the two are linked. Honoured by addTrackFromAsset and addClipFromAsset, refused before anything is added when the pair cannot be linked (type-mismatch, invalid-argument).

    sourceOffsetSec?: number
    startSec?: number
    withLinkedSound?: boolean

    The caller places this picture's sound next, linked to it. Changes only the media-imported event: this call announces "both" and the sound's call none.