ITextRange2::HexToUnicode method (tom.h)

Converts and replaces the hexadecimal number at the end of this range to a Unicode character.

Syntax

HRESULT HexToUnicode();

Return value

Type: HRESULT

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Remarks

Some Unicode surrogates for hex values from 0x10000 up to 0x10FFFF are for internal use:

Hex values Available for use
7, 0xFDD0 — 0xFDEF, 0xFFF9 — 0xFFFF Internal use only
0xA — 0xD in the C0 range (0-0x1F) Available for use
C1 range (0x80 — 0x9F) Internal use only

Requirements

Requirement Value
Minimum supported client Windows 8 [desktop apps only]
Minimum supported server Windows Server 2012 [desktop apps only]
Target Platform Windows
Header tom.h
DLL Msftedit.dll

See also

ITextRange2