API Reference > Other Classes > OdCharMapper Class > OdCharMapper Methods > OdCharMapper::codepageDescToId Method
OdCharMapper::codepageDescToId Method
Syntax
C++
static OdResult codepageDescToId(const OdString& description, OdCodePageId& codepageId);
Parameters 
Description 
const OdString& description 
[in] Description.  
OdCodePageId& codepageId 
[out] Receives the object ID of the code page.  

eOk if the object ID of the code page is received successfully, or an appropriate error code otherwise.

Gets the code page with the specified description. 

 

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