asset

A library asset.

asset properties

Property Type Access Description
asset type asset type enumeration r/w The type of the asset.
enumerations
image type, EPS type, PDF type, geometry type, page type, text type, structure
type
class integer read The class descriptor type.
date date read Date and time.
description string r/w Description of the asset.
id integer read A unique number identifying the object.
index integer read Index of the object within its parent object.
label string r/w A label that can be set to any string.
name string r/w The name of the object.
object reference object read An object reference for this object.
parent object read The parent of the object.
properties record r/w Property that allows setting of several properties at the same time.

asset methods

Method Returns Description
delete Nothing Delete the object.
extract label string Gets the content of the label associated with the specified key (name).
Parameter Type Description
key string The
key.
insert label Nothing Sets the content of the label associated with the specified key (name), creating the
label if it does not already exist.
Parameter Type Description
key string Key.
value string Value.
place asset list of page items, movies, sounds, images, EPSs, WMFs, PICTs or PDFs Place the asset in a document.
Parameter Type Description
on document The
document in which to place the asset.

Leave a Comment

Previous post:

Next post: