C++
Acad::ErrorStatus toAcDbTextStyle( AcGiTextStyle&, const ACHAR * AcDbStyleName );
File
acgiutil.h
Description
This function will attempt to find and open an AcDbTextStyleTableRecord with the name contained in AcDbStyleName. If no such record is found, then a new AcDbTextStyleTableRecord will be created and added to the drawing currently in the AutoCAD editor. Once a valid AcDbTextStyleTableRecord is in hand, the style information from the AcGiTextStylestyle will be copied into it.
Returns Acad::eOk if successful. Other return values are those that would be returned by a failure to open or create the AcDbTextStyleTableRecord.
Parameters
Parameters | Description |
---|---|
AcDbStyleName | Input name of the AcDbTextStyleTableRecord to which the information will be copied |
unnamed | Input AcGiTextStyle object from which to copy |