• <menu id="w2i4a"></menu>
  • 首頁 > 慧問 > 頻道

    Essential studio reporting Edition的Essential Doc問題[Essential Studio Reporting Edition]

    發(fā)表于2019-05-10 回復(fù):0 查看:2389  |  
    怎樣運(yùn)用Essential studio reporting Edition在Word文件中插入section breaks?
    1個(gè)回答
    • 1970-01-01 08:00
      可以通過如下方式獲?。篳private void Access_texts_Click(object sender, EventArgs e) { //CADImage.CreateImageByExtension detects format by the extension specified in the argument. //The correct class for any supported format will be used automatically. We recommend to //create a new drawing object with CADImage.CreateImageByExtension if import from the existed //file/stream is required. CADImage vDrawing = CADImage.CreateImageByExtension(@"..\..\..\Files\Entities.dxf"); vDrawing.LoadFromFile(@"..\..\..\Files\Entities.dxf"); // Adjusting visualization sizes to the control area: RectangleF vRect; double vRatio = (double)(vDrawing.AbsHeight * Image1.ClientSize.Width) / (vDrawing.AbsWidth * Image1.ClientSize.Height); if (vRatio > 1) vRect = new RectangleF(0, 0, (float)(Image1.ClientSize.Width / vRatio), (float)Image1.ClientSize.Height); else vRect = new RectangleF(0, 0, (float)Image1.ClientSize.Width, (float)(Image1.ClientSize.Height * vRatio)); //----------------------------------------------- vDrawing.Draw(Image1.CreateGraphics(), vRect); string S = ""; for (int i = 0; i < vDrawing.CurrentLayout.Count; i++) { if (vDrawing.CurrentLayout.Entities[i].EntType == EntityType.Text) { CADText vText = (CADText)vDrawing.CurrentLayout.Entities[i]; MessageBox.Show("Text: " + vText.Text); } if (vDrawing.CurrentLayout.Entities[i].EntType == EntityType.MText) { CADMText vMText = (CADMText)vDrawing.CurrentLayout.Entities[i]; for (int j = 0; j < vMText.Block.Count; j++) S = S + ((CADText)vMText.Block.Entities[j]).Text + "\n"; MessageBox.Show("MText:\n" + S); S = ""; } } } `
      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); })();