API Reference > OdDb Classes > OdDbDictionary Class > OdDbDictionary Methods > OdDbDictionary::suggestName Method
OdDbDictionary::suggestName Method
Syntax
C++
OdString suggestName(const OdString& strFilePath, const int nMaxLength = kMaxSuggestNameSize) const;
Parameters 
Description 
const OdString& strFilePath 
[in] File path.  
const int nMaxLength = kMaxSuggestNameSize 
[in] Maximum length of name generated. 

Returns a string suitable to be used as dictionary Key for this dictionary object. The string is unique for this dictionary object and is as close to file name as possible. 

 

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