SmartTagCollection

SmartTagCollection class

Represents all smart tags in the cell.

class SmartTagCollection implements Iterable<SmartTag>;

Properties

PropertyTypeDescription
rownumberReadonly. Gets the row of the cell smart tags.
columnnumberReadonly. Gets the column of the cell smart tags.

Methods

MethodDescription
get(number)Gets a SmartTag object at the specific index
getRow()@deprecated. Please use the ‘row’ property instead. Gets the row of the cell smart tags.
getColumn()@deprecated. Please use the ‘column’ property instead. Gets the column of the cell smart tags.
add(string, string)Adds a smart tag.
getCount()@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.
isNull()Checks whether the implementation object is null.

[Symbol.iterator](): Iterator<SmartTag>

Returns an iterator over the items in the collection. Enables use of for...of, spread syntax, and Array.from().

row

Readonly. Gets the row of the cell smart tags.

row : number;

column

Readonly. Gets the column of the cell smart tags.

column : number;

get(number)

Gets a SmartTag object at the specific index

get(index: number) : SmartTag;

Parameters:

ParameterTypeDescription
indexnumberThe index.

Returns

returns a SmartTag object.

getRow()

@deprecated. Please use the ‘row’ property instead. Gets the row of the cell smart tags.

getRow() : number;

getColumn()

@deprecated. Please use the ‘column’ property instead. Gets the column of the cell smart tags.

getColumn() : number;

add(string, string)

Adds a smart tag.

add(uri: string, name: string) : number;

Parameters:

ParameterTypeDescription
uristringSpecifies the namespace URI of the smart tag
namestringSpecifies the name of the smart tag.

Returns

The index of smart tag in the list.

getCount()

@deprecated. Please use the ‘count’ property instead. Gets the number of elements contained in.

getCount() : number;

isNull()

Checks whether the implementation object is null.

isNull() : boolean;