C++
virtual Acad::ErrorStatus preValidateSymbolName( AcString & sSymbolName, bool preserveCase ) const = 0;
Description
Perform any "pre-validation" steps on a string that will be validated as a symbol name:
- Normalize the name. If preserveCase is false, the symbol name is converted to uppercase.
- Strip leading and trailing whitespace.
Parameters
Parameters | Description |
---|---|
sSymbolName | Output symbol name |
preserveCase | Input Boolean to indicate whether to preserve the case of alphabetic letters |
Returns
Returns Acad::eOk if successful.
Links
AcDbSymbolUtilities::Services, AcDbSymbolUtilities Namespace