TypefiSectionInstances

A list of Typefi section instances

Methods:

[], add, anyItem, count, everyItem, firstItem, item, itemByID, itemByName, itemByRange, lastItem, middleItem, nextItem, previousItem, toSource

Property Listing

Property

Type

Access

Description

length

Number

readonly

The number of objects in the collection.

Method Listing

TypefiSectionInstance [] (index:Number)

Returns the TypefiSectionInstance with the specified index.

Parameter

Type

Description

index

Number

The index.

TypefiSectionInstance add (definition:Varies TypefiSectionDefinition String, externalId:String, withProperties:Object)

Create a new TypefiSectionInstance

Parameter

Type

Description

definition

TypefiSectionDefinition

String

Definition. Can accept: TypefiSectionDefinition or String.

externalId

String

The id to identify the instance

withProperties

Object

Initial values for properties of the new TypefiSectionInstance (Optional)

TypefiSectionInstance anyItem ()

Returns any TypefiSectionInstance in the collection.

Number count ()

Displays the number of elements in the TypefiSectionInstance.

TypefiSectionInstance everyItem ()

Returns every TypefiSectionInstance in the collection.

TypefiSectionInstance firstItem ()

Returns the first TypefiSectionInstance in the collection.

TypefiSectionInstance item (index:Varies LongInteger String)

Returns the TypefiSectionInstance with the specified index or name.

Parameter

Type

Description

index

LongInteger

String

The index or name. Can accept: Long Integer or String.

TypefiSectionInstance itemByID (id:Number)

Returns the TypefiSectionInstance with the specified ID.

Parameter

Type

Description

id

Number

The ID.

TypefiSectionInstance itemByName (name:String)

Returns the TypefiSectionInstance with the specified name.

Parameter

Type

Description

name

String

The name.

TypefiSectionInstance itemByRange (from:Varies LongInteger TypefiSectionInstance String, to:Varies LongInteger TypefiSectionInstance String)

Returns the TypefiSectionInstances within the specified range.

Parameter

Type

Description

from

LongInteger

TypefiSectionInstance

String

The TypefiSectionInstance, index, or name at the beginning of the range. Can accept: TypefiSectionInstance, Long Integer or String.

to

LongInteger

TypefiSectionInstance

String

The TypefiSectionInstance, index, or name at the end of the range. Can accept: TypefiSectionInstance, Long Integer or String.

TypefiSectionInstance lastItem ()

Returns the last TypefiSectionInstance in the collection.

TypefiSectionInstance middleItem ()

Returns the middle TypefiSectionInstance in the collection.

TypefiSectionInstance nextItem (obj:TypefiSectionInstance)

Returns the TypefiSectionInstance whose index follows the specified TypefiSectionInstance in the collection.

Parameter

Type

Description

obj

TypefiSectionInstance

The TypefiSectionInstance whose index comes before the desired TypefiSectionInstance.

TypefiSectionInstance previousItem (obj:TypefiSectionInstance)

Returns the TypefiSectionInstance with the index previous to the specified index.

Parameter

Type

Description

obj

TypefiSectionInstance

The index of the TypefiSectionInstance that follows the desired TypefiSectionInstance.

String toSource ()

Generates a string which, if executed, will return the TypefiSectionInstance.

Object of

Document.typefiSectionInstances