Adobe InDesign CS (3.0) Object Model JS: Topics

InDesign CS

Class

Topics

 A collection of index topics.

QuickLinks

add, count

Properties

PropertyTypeAccessDescription
lengthnumber readonlyThe number of objects in the collection.

Methods

Instances

Topic add (name: string[, sortBy: string][, withProperties: Object])
Creates a new index topic.

ParameterTypeDescription
namestringThe name of the topic. Note: This is the text that appears in the index.
sortBystringThe string to sort this topic by instead of the topic name. Note: The actual topic text, rather than the sort order text, appears in the index. (Optional)
withPropertiesObjectInitial values for properties of the new Topic (Optional)

number count ()
Displays the number of elements in the Topic.

Element of

Index.topics

Jongware, 27-Jun-2010 v3.0.3dContents :: Index