Click or drag to resize
TextRangeGetIndex Method
Retrieves the story index of the unit parameter at the specified range start character position. The first unit in a story has an index value of 1. The index of a Unit is the same for all character positions from that immediately preceding the unit up to the last character in the unit.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public int GetIndex(
	TextUnit unit
)

Parameters

unit
Type: TextObjectModelTextUnit
Unit that is indexed.

Return Value

Type: Int32
The index value.
See Also