小编Dan*_*iel的帖子

使用itextsharp xmlworker将html转换为pdf并垂直写入文本

是否有可能在xmlworker中实现自下而上的文本方向编写?我想在表格中使用它.我的代码是

     <table border=1>
     <tr>
     <td style="padding-right:18px">
          <p style="writing-mode:sideways-lr;text-align:center">First</p</td>
     <td style="padding-right:18px">
          <p style="writing-mode:sideways-lr;text-align:center">Second</p></td></tr>
     <tr><td><p style="text-align:center">1</p>  </td>
         <td><p style="text-align:center">2</p></td> 
     </tr>
        </table>
Run Code Online (Sandbox Code Playgroud)

但它从html转换为pdf后无法正常工作.文本FIRST和SECOND不是从下到上的方向.

html c# asp.net itextsharp xmlworker

10
推荐指数
1
解决办法
2万
查看次数

未找到 Netoffice prog

我已经在Micorsoft.Office.Interop.Wordasp.net 中找到并替换了解决方案,我想将此解决方案移至NetOffice没有 Microsoft Word 的 asp.net 服务器中。我收到错误

未找到 progid

。我做错了什么,因为在我有 Microsoft Word 的计算机上,此代码在 NetOffice 中工作正常?

Word.Application wordApp = new Word.Application();<-- 这是这个错误

c# asp.net netoffice

4
推荐指数
1
解决办法
2775
查看次数

标签 统计

asp.net ×2

c# ×2

html ×1

itextsharp ×1

netoffice ×1

xmlworker ×1