importPlaceholder()

app.project.importPlaceholder(name,width,height,frameRate,duration)

Description

Creates and returns a new PlaceholderItem object and adds it to the project’s items array. Same as the File > Import > Placeholder command.

Parameters

name A string containing the name of the placeholder.
width The width of the placeholder in pixels, an integer in the range [4..30000].
height The height of the placeholder in pixels, an integer in the range [4..30000].
frameRate The frame rate of the placeholder, a floating-point value in the range [1.0..99.0]
duration The duration of the placeholder in seconds, a floating-point value in the range [0.0..10800.0].

Returns

PlaceholderItem object.

Other Tags

Posted in Project object and tagged , , , , , , , , , , , , , , , .