C++
virtual Acad::ErrorStatus setStyleName( const ACHAR * );
Description
This function sets styleName as the style name of the AcGiTextStyle object. styleName must meet the same restrictions as any symbol table name (that is, alphanumeric or "|" only and 32 characters maximum). styleName may be NULL if the desire is to clear an existing name.
Returns Acad::eOk if successful.
Returns Acad::eStringTooLong if styleName is too long.
Returns Acad::eInvalidInput the characters in styleName are not allowed for a symbol table name.
Parameters
Parameters | Description |
---|---|
unnamed | Input string to be used as the style's name |