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. 

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

Returns the code page with the specified description.

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