Skip to main content
ITextRange2::UnicodeToHex method

Converts the Unicode character(s) preceding the start position of this text range to a hexadecimal number, and selects it.

Syntax


HRESULT UnicodeToHex();

Parameters

This method has no parameters.

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 valuesAvailable for use
0xFDD0 – 0xFDEF, 0xFFF9-0xFFFFInternal use only
0xA – 0xD in the C0 range (0-0x1F)Available for use
C1 range (0x80 – 0x9F)Internal use only

 

Requirements

Minimum supported client

Windows 8 [desktop apps only]

Minimum supported server

Windows Server 2012 [desktop apps only]

Header

Tom.h

DLL

Msftedit.dll

See also

ITextRange2