static void zffObjectARX_MyCommand15(void)
{
AcDbDatabase* pDb=acdbHostApplicationServices()->workingDatabase();
AcDbDatabaseSummaryInfo* pSum=NULL;
Acad::ErrorStatus es=acdbGetSummaryInfo(pDb,pSum);
ACHAR* title;
pSum->getTitle(title);
acutPrintf(_T("\n图形当前摘要信息标题为:%s"),title);
pSum->setTitle(_T("测试AcDbDatabaseSummaryInfo"));
es=acdbPutSummaryInfo(pSum,pDb);
pSum->getTitle(title);
acutPrintf(_T("\n改变后的摘要信息标题为:%s"),title);
}
时间: 2024-10-22 12:57:51