Edit in GitHubLog an issue

TextVariables

A collection of text variables.

Instance

Read Only

Number length

The number of objects in the collection.

Methods

TextVariable add( Object withProperties )

Creates a new TextVariable.

Parameters

TypeNameDescription
Object
withProperties
Initial values for properties of the new TextVariable (Optional)

Number count()

Displays the number of elements in the TextVariable.


TextVariable item( Mixed index )

Returns the TextVariable with the specified index or name.

Parameters

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

TextVariable itemByName( String name )

Returns the TextVariable with the specified name.

Parameters

TypeNameDescription
String
name
The name.

TextVariable itemByRange( Mixed from, Mixed to )

Returns the TextVariables within the specified range.

Parameters

TypeNameDescription
Mixed
from
The TextVariable, index, or name at the beginning of the range. Can accept: TextVariable, Long Integer or String.
Mixed
to
The TextVariable, index, or name at the end of the range. Can accept: TextVariable, Long Integer or String.

TextVariable firstItem()

Returns the first TextVariable in the collection.


TextVariable lastItem()

Returns the last TextVariable in the collection.


TextVariable middleItem()

Returns the middle TextVariable in the collection.


TextVariable previousItem( TextVariable obj )

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

Parameters

TypeNameDescription
TextVariable
obj
The index of the TextVariable that follows the desired TextVariable.

TextVariable nextItem( TextVariable obj )

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

Parameters

TypeNameDescription
TextVariable
obj
The TextVariable whose index comes before the desired TextVariable.

TextVariable anyItem()

Returns any TextVariable in the collection.


TextVariable everyItem()

Returns every TextVariable in the collection.


String toSource()

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


TextVariable []( Number index )

Returns the TextVariable with the specified index.

Parameters

TypeNameDescription
Number
index
The index.
Was this helpful?
  • Privacy
  • Terms of Use
  • Do not sell or share my personal information
  • AdChoices
Copyright © 2023 Adobe. All rights reserved.