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.  

eOk if the code page character is received successfully, or an appropriate error code otherwise.

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

 

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