| TextRangeGetChar Method |
(TOM 2 only)
Gets the character at the specified offset from the end of this range.
Namespace: TextObjectModelAssembly: ManagedTOM2 (in ManagedTOM2.dll) Version: 1.0.5577.41188
Syntax public string GetChar(
[OptionalAttribute] int offset
)
Public Function GetChar (
<OptionalAttribute> offset As Integer
) As String
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:
StringThe character value, as a string converted from its UTF-32 representation.
Exceptions Exception | Condition |
---|
NotSupportedException |
The underlying COM object does not implement the ITextRange2 interface.
|
See Also