API Reference > Functions > odDbSetDWGCODEPAGE Function
odDbSetDWGCODEPAGE Function
Syntax
C++
TOOLKIT_EXPORT void odDbSetDWGCODEPAGE(OdDbDatabase& db, OdCodePageId val);

DbDatabase.h

Parameters 
Description 
OdDbDatabase& db 
[in] Database.  
OdCodePageId val 
[in] Value for DWGCODEPAGE. 

Sets the DWGCODEPAGE value in the specified OdDbDatabase instance. 

 

This function provides write access to "Read-Only" system variables. It may be used to bypass non-implemented Drawings functionality or to repair drawings, and should be used with care.

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