API Reference > Namespaces > OdDbSymUtil Namespace > Functions > OdDbSymUtil::repairSymbolName Function
OdDbSymUtil::repairSymbolName Function
Syntax
C++
TOOLKIT_EXPORT OdResult repairSymbolName(OdString& newName, const OdString& oldName, const OdDbDatabase* pDb, bool allowVerticalBar = false, const OdChar symSubst = L'_', bool insertPrefix = true);

DbSymUtl.h

eInvalidInput if the specified name is empty eOk in else case

If the symbol name was repaired, then newName is a repaired symbol name. newName is empty if oldName did not need any repairing. allowVerticalBar is a boolean to indicate if vertical bars are allowed in the symbol name

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