How can I create objects of DocumentFormat.OpenXml.Drawing.PresetGeometry in a Microsoft Word docx file? These are shapes such as lines, arrows, and polygons.
What I need
It would be very helpful to have an example similar to the ones provided for Images and Tables
What I tried
Searching for docx and PresetGeometry didn’t find any helpful links, so I used the “Open XML SDK 2.5 Productivity Tool for Microsoft Office” to compare an empty docx to one with an arrow. The code generated by the View Part Code button for /word/document.xml compiles but Word reports a schema error when I run that code and open the generated file.
Howard Rubin
-
This topic was modified 8 years, 5 months ago by Howard Rubin.
-
This topic was modified 8 years, 5 months ago by Howard Rubin.
-
This topic was modified 8 years, 5 months ago by Howard Rubin.
-
This topic was modified 8 years, 5 months ago by Howard Rubin.