A sound clip.
Go to Property Listing | Method Listing
bringForward, bringToFront, detach, duplicate, extractLabel, fit, getElements, insertLabel, markup, move, override, remove, removeOverride, resetScaling, resize, select, sendBackward, sendToBack, store, toSource, toSpecifier
Boolean, File, Graphic, Guide, Images, Layer, Link, Movie, Number, Object, PageItem, Sound, SoundPosterTypes, String, XMLItem
|
Property |
Type |
Access |
Description |
|---|---|---|---|
|
readonly |
The XML element associated with the Sound. |
||
|
read/write |
The description of the Sound. |
||
|
read/write |
If true, the sound poster does not print with the document. |
||
|
read/write |
If true, the file is embedded in the PDF. If false, the file is linked to the PDF. Note: To embed movie files, acrobat compatibility must be acrobat 6 or higher. |
||
|
read/write |
The full path to the file. |
||
|
read/write |
The bounds of the Sound excluding the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
||
|
read/write |
The horizontal scaling applied to the Sound. |
||
|
readonly |
The unique ID of the Sound. |
||
|
readonly |
A collection of bitmap images in any bitmap file format (including TIFF, JPEG, or GIF). |
||
|
readonly |
The index of the Sound within its containing object. |
||
|
read/write |
The layer that the Sound is on. |
||
|
readonly |
The source file of the link. |
||
|
read/write |
A property that can be set to any string. |
||
|
read/write |
The name of the Sound. |
||
|
readonly |
If true, the object originated on a master spread and was overridden. If false, the object either originated on a master spread and was not overridden, or the object did not originate on a master page. |
||
|
readonly |
An object that originated on a master page and has been overridden. Can return: PageItem, Guide, Graphic, Movie or Sound. |
||
|
readonly |
The parent of the Sound (a PageItem, Oval, Rectangle or Polygon). |
||
|
read/write |
If true, the movie plays automatically when a user views the page that contains the movie poster in the PDF document. |
||
|
read/write |
The poster file. |
||
|
read/write |
A property that allows setting of several properties at the same time. |
||
|
read/write |
The type of sound poster. |
||
|
read/write |
The vertical scaling applied to the Sound. |
||
|
read/write |
The bounds of the Sound including the stroke width, in the format [y1, x1, y2, x2], which give the coordinates of the top-left and bottom-right corners of the bounding box. |
undefined bringForward ()
Brings the Sound forward one level in its layer.
undefined bringToFront ()
Brings the Sound to the front.
undefined detach ()
Detaches an overridden master page item from the master page.
Sound duplicate ()
Duplicates the Sound.
String extractLabel (key:String)
Gets the label value associated with the specified key.
|
Parameter |
Type |
Description |
|---|---|---|
|
key |
The key. |
undefined fit (given:FitOptions)
Applies the specified fit option to content in a frame.
|
Parameter |
Type |
Description |
|---|---|---|
|
given |
The fit option to use. |
Object getElements ()
Resolves the object specifier, creating an array of object references.
undefined insertLabel (key:String, value:String)
Sets the label to the value associated with the specified key.
undefined markup (using:XMLElement)
Associates the page item with the specified XML element while preserving existing content.
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The XML element. |
undefined move (to:Array of Varies 2 Units Page Spread Layer, by:Array of Number String, [transformingContent:Boolean=Boolean])
Move Page Item to a new location. One of the 'To' or 'By' parameters is required.
|
Parameter |
Type |
Description |
|---|---|---|
|
to |
Array of 2 Units |
The new location of the object. Can accept: Array of 2 Units, Spread, Page or Layer. (Optional) |
|
by |
Amount by which to move the object relative to its current position (Optional) |
|
|
transformingContent |
If true then both the object and items within it are moved (Optional) (default: true) |
Varies override (destinationPage:Page)
Overrides a master page item and places the item on the document page as a new object.
|
Parameter |
Type |
Description |
|---|---|---|
|
destinationPage |
The document page that contains the master page item to override. |
undefined remove ()
Deletes the Sound.
undefined removeOverride ()
Removes the override from a previously overridden master page item.
undefined resetScaling ()
Resets the Sound's scaling to 100%. Note: This does not change the size of the Sound. Instead, it makes the current size of the Sound the basis for future scaling.
undefined resize (horizontalScale:Number, verticalScale:Number, around:Array of Varies 2 Units AnchorPoint, [consideringCurrentScale:Boolean=Boolean], [transformingContent:Boolean=Boolean], [consideringParentsScale:Boolean=Boolean])
Resize the page item. You must specify either horizontal scale or vertical scale or both.
|
Parameter |
Type |
Description |
|---|---|---|
|
horizontalScale |
The percentage of horizontal scale (Optional) |
|
|
verticalScale |
The percentage of vertical scale (Optional) |
|
|
around |
Array of 2 Units |
The point to scale around. Can accept: Array of 2 Units or AnchorPoint enumerator. (Optional) |
|
consideringCurrentScale |
If true then the object's current scale and new scale will be combined. If false then the new value is absolute. The default value is false. (Optional) (default: false) |
|
|
transformingContent |
If true then both the object and items within it are scaled (Optional) (default: true) |
|
|
consideringParentsScale |
If true then the object is scaled relative to its parent page item. If false it is scaled relative to the spread. (Optional) (default: false) |
undefined select ([existingSelection:SelectionOptions=SelectionOptions])
Selects the object.
|
Parameter |
Type |
Description |
|---|---|---|
|
existingSelection |
The selection status of the Sound in relation to previously selected objects. (Optional) (default: SelectionOptions.REPLACE_WITH) |
undefined sendBackward ()
Sends the Sound back one level in its layer.
undefined sendToBack ()
Sends the Sound to the back.
Asset store (using:Library)
Store a page item in a library
|
Parameter |
Type |
Description |
|---|---|---|
|
using |
The library in which to store |
String toSource ()
Generates a string which, if executed, will return the Sound.
String toSpecifier ()
Retrieves the object specifier.
FormField.overriddenMasterPageItem
Button.overriddenMasterPageItem
Movie.overriddenMasterPageItem
Sound.overriddenMasterPageItem
PageItem.overriddenMasterPageItem
Oval.overriddenMasterPageItem
Rectangle.overriddenMasterPageItem
GraphicLine.overriddenMasterPageItem
Polygon.overriddenMasterPageItem
Group.overriddenMasterPageItem
Image.overriddenMasterPageItem
EPS.overriddenMasterPageItem
PDF.overriddenMasterPageItem
WMF.overriddenMasterPageItem
PICT.overriddenMasterPageItem
Graphic.overriddenMasterPageItem
Guide.overriddenMasterPageItem
TextFrame.overriddenMasterPageItem
Image.parent
SoundBehavior.soundItem