Click or drag to resize
TextRangeGetChar Method
(TOM 2 only) Gets the character at the specified offset from the end of this range.

Namespace: TextObjectModel
Assembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax
public string GetChar(
	[OptionalAttribute] int offset
)

Parameters

offset (Optional)
Type: SystemInt32
The offset from the end of the range. An offset of 0 gets the character at the end of the range.

Return Value

Type: String
The character value, as a string converted from its UTF-32 representation.
Exceptions
ExceptionCondition
NotSupportedException The underlying COM object does not implement the ITextRange2 interface.
See Also