• <menu id="w2i4a"></menu>
  • 首頁(yè) > 慧問(wèn) > 頻道

    xtrareport報(bào)表,元件沒(méi)有ableprint屬性嗎?

    發(fā)表于2019-05-10 回復(fù):0 查看:2008  |  
    xtrareport報(bào)表,元件沒(méi)有ableprint屬性嗎。 像Stimulsoft Reports和FastReport報(bào)表都有這功能?
    1個(gè)回答
    • 1970-01-01 08:00
      請(qǐng)參如下解決方法: 我這邊能正確運(yùn)行,不能重現(xiàn)你的問(wèn)題。正確運(yùn)行說(shuō)明如下: 打開(kāi)網(wǎng)絡(luò)文檔: axEDOffice1.Open("http://url/upload/1111.vsd", "Visio.Application"); 打開(kāi)完成操作后保存 上傳
         if (axEDOffice1.IsOpened())
                  {
                      this.axEDOffice1.SetAppFocus();
                      this.axEDOffice1.HttpInit();
                      var filename = axEDOffice1.GetDocumentName();
                      axEDOffice1.HttpAddPostOpenedFile(filename, "Visio.Application");
      
      
                      axEDOffice1.SetValue("HoldFocus", "true");
                      axEDOffice1.HttpPost(@"url");
                      if (axEDOffice1.GetErrorCode() == 0 || axEDOffice1.GetErrorCode() == 200)
                      {
                          //完成操作
                      }
                  }
      
      在web服務(wù)端接收
        string path = Server.MapPath("upload");
              string newFile = path + "\\" + "name.vsd";
      
              HttpFileCollection files = Request.Files;
              Request.Files[0].SaveAs(newFile);
              Response.Write("Upload Successfully.");
              Response.End(); 
          
      客戶端完成操作后調(diào)用 axEDOffice1.CloseDoc(); 關(guān)閉一打開(kāi)文檔; 服務(wù)端接收文件名和客戶端打開(kāi)文件名一樣;
      1
      回復(fù) 舉報(bào)
    回復(fù)

    登錄 慧都網(wǎng)發(fā)表評(píng)論

    掃碼咨詢


    添加微信 立即咨詢

    電話咨詢

    客服熱線
    023-68661681

    TOP
    三级成人熟女影院,欧美午夜成人精品视频,亚洲国产成人乱色在线观看,色中色成人论坛 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();