C++
Acad::ErrorStatus fromAcDbTextStyle( AcGiTextStyle&, const ACHAR * AcDbStyleName );
File
acgiutil.h
Description
This function opens the AcDbTextStyleTableRecord with name AcDbStyleName and copies the style information from that record into the AcGiTextStylestyle.
AcGiTextStyle::loadStyleRec must be called after loading a True Type font (TTF).
Returns Acad::eOk if successful. Other return values are those that would be returned by an unsuccessful search for the specified style name or a failure to open the AcDbTextStyleTableRecord.
Parameters
Parameters | Description |
---|---|
AcDbStyleName | Input name of the AcDbTextStyleTableRecord from which to copy |
unnamed | Input AcGiTextStyle object to copy into |