Hello Everyone!
Now I meet a puzzle about how to put some shape into a canvas.
Normally,we Can use VBA to cut selection shaperange into clipboard ,then insert a canvas into the word,and use the select method to activate the canvas to paste the shapes into the canvas.
But this method is very clumsy and not stable.
I have seen an word-addin,it can put all the shape into a canvas automatically.Especially very awesome for the flow chart。
I had study the xml-code with Activedocument.range.xml for a long time,but gained nothing。I had tried to put the pict-segment into the canvas-code,but faile in the end.
So I want to know how to achive this by the xml-method though VBA.But not Aspose or SpireDoc.Because the latter can not deal with this condition when word is open.
Thanks a lot for the help!!!