API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::wideCharToMultiByte Method
OdCharMapper::wideCharToMultiByte Method
Syntax
C++
static void wideCharToMultiByte(OdCodePageId codePage, const OdChar* srcBuf, int srcSize, OdAnsiCharArray& dstBuf);
Parameters 
Description 
const OdChar* srcBuf 
[in] Source Unicode character buffer.  
int srcSize 
[in] Size of the source character buffer.  
OdAnsiCharArray& dstBuf 
[out] Receives the character array in the specified code page. 
codepage 
[in] Destination character code page.  

Maps the Unicode characters to the specified code page. 

 

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