TextBox positioning in OpenXML

筅森魡賤 提交于 2019-12-02 08:42:04

Issues like writing the correct C# code that will produce a certain Open XML document can be solved easily using a sample document and the Document Reflector that comes with the Open XML SDK:

  1. Download and install the latest version of the Open XML SDK (OpenXMLSDKToolV25.msi)
  2. Open the Open XML SDK Productivity Tool (OpenXmlSdkTool.exe) located in C:\Program Files (x86)\Open XML SDK\V2.5\tool (when installed to the default location).
  3. Create a sample document with the desired formatting and open it in the tool.
  4. Click on Reflect Code
  5. Copy the generated code to your project and adjust where needed, e.g. by replacing the static text with your content.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!