Hi Bruce,
from testing a workaround could be to retrieve the TextStyle NONE from active settings. e.g. if TextStyle NONE is active, this gets this textStyle:
DgnFileR dgnfile = *ISessionMgr::GetActiveDgnFile(); DgnTextStylePtr textStyle = DgnTextStyle::GetSettings(dgnfile);
textStyle isVaild() and !isNull., but as the ID=0, this cannot be used to set/get a textStyle.
Defect # 698679 is filed to address this issue.
Best regards,
Artur