API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::unicodeToCodepage2 Method
OdCharMapper::unicodeToCodepage2 Method
Syntax
C++
static OdResult unicodeToCodepage2(OdChar sourceChar, OdCodePageId codepageId, OdChar& codepageChar);
Parameters 
Description 
OdChar sourceChar 
[in] Unicode source character.  
OdCodePageId codepageId 
[in] Object ID of the code page.  
OdChar& codepageChar 
[out] Receives the code page character. 

Returns eOk if successful, or an appropriate error code if not.

Maps the specified Unicode character to the specified code page using IMLangFontLink2 interface.

Copyright © 2002–2020. Open Design Alliance. All rights reserved.