C++
Acad::ErrorStatus fromAcDbTextStyle( AcGiTextStyle&, const AcDbObjectId& AcDbStyleId );
File
acgiutil.h
Description
This function opens the AcDbTextStyleTableRecord with objectIdAcDbStyleId 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 open of an AcDbTextStyleTableRecord.
Parameters
Parameters | Description |
---|---|
AcDbStyleId | Input objectId of the AcDbTextStyleTableRecord from which to copy |
unnamed | Input AcGiTextStyle object to copy into |