TextBox positioning in OpenXML

前端 未结 1 929
你的背包
你的背包 2021-01-27 07:05

I am new in OpenXML. I am trying to create the word(.docx) file having simple text and images in it using openxml. I have already mentioned all this in my earlier post:

<
相关标签:
1条回答
  • 2021-01-27 08:00

    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.
    0 讨论(0)
提交回复
热议问题