Library

An object library.

Properties

Property Type Access Description
assets Assets readonly A collection of object library assets.
associatedPanel Panel readonly The panel associated with the Library.
filePath File readonly The full path to the file.
fullName File readonly The full path to the Library, including the name of the Library.
index number readonly The index of the Library within its containing object.
name string readonly The name of the Library.
parent Application readonly The parent of the Library (a Application).
properties Object r/w A property that allows setting of several properties at the same time.

Methods

void close ()
Closes the Library.

Array of LibrarygetElements ()
Resolves the object specifier, creating an array of object references.

Assetstore (using:
Array of any[, withProperties:
Object])
Stores the specified Library(s) in the library.

Parameter Type Description
using Array of Array of PageItems
Movies
Sounds
Graphics
XMLElements
The page item(s) to store. Can accept: Array of PageItems, Movies, Sounds, Graphics or XMLElements.
withProperties Object Initial values for properties of the new Library (Optional)

string toSource ()
Generates a string which, if executed, will return the Library.

string toSpecifier ()
Retrieves the object specifier.

Element of:

Asset.parent
LibraryPanel.associatedLibrary

Used in:

Button.store (

using:
Library [, withProperties:
Object])

EPS.store (

using:
Library [, withProperties:
Object])

FormField.store (

using:
Library [, withProperties:
Object])

GraphicLine.store (

using:
Library [, withProperties:
Object])

Group.store (

using:
Library [, withProperties:
Object])

Image.store (

using:
Library [, withProperties:
Object])

Libraries.previousItem (

obj:
Library )

Libraries.nextItem (

obj:
Library )

Movie.store (

using:
Library [, withProperties:
Object])

Oval.store (

using:
Library [, withProperties:
Object])

PageItem.store (

using:
Library [, withProperties:
Object])

PDF.store (

using:
Library [, withProperties:
Object])

PICT.store (

using:
Library [, withProperties:
Object])

Polygon.store (

using:
Library [, withProperties:
Object])

Rectangle.store (

using:
Library [, withProperties:
Object])

Sound.store (

using:
Library [, withProperties:
Object])

TextFrame.store (

using:
Library [, withProperties:
Object])

WMF.store (

using:
Library [, withProperties:
Object])

XMLElement.store (

using:
Library [, withProperties:
Object])

Returned by:

Library Libraries.add (
fullName:
File[, withProperties:
Object]
)

Library Libraries.anyItem (

)

Array of Library Libraries.everyItem (

)

Library Libraries.firstItem (

)

Library Libraries.item (
index:
any
)

Library Libraries.itemByName (
name:
string
)

Array of Library Libraries.itemByRange (
from:
any, to:
any
)

Library Libraries.lastItem (

)

Library Libraries.middleItem (

)

Library Libraries.nextItem (
obj:
Library
)

Library Libraries.previousItem (
obj:
Library
)

Array of Library Library .getElements (

)

Leave a Comment

Previous post:

Next post: