如题。有人来商计不?

解决方案 »

  1.   

    pSection = m_Report->GetAreas()->GetItem("D")->GetSections()->GetItem(var);
    pSection->GetCssClass();
    pSection->GetName();
    pSection->ReportObjects->GetItem("Pic1");
    // pSection->PutName("test");
    // pSection->AddPictureObject((_bstr_t)"tmp.bmp", 0, 0);
      

  2.   

    // pSection->AddPictureObject((_bstr_t)"tmp.bmp", 0, 0); 这一名是我打算动态创建一图片对象,但出错信息“未开启创建功能”,网上说是水晶报表的注册码问题。我想不创建,动态的修改这个图片对象可有办法?