Hi,
I’m converting word to excel with aspose and now I have the problem, that all connector shapes loose their arrow options. They are rendered as normal lines without arrow style.
I’m not able to find attributes about arrow … in object model.
Where can I find these options and how to convert to word?
I attached dialog from word/excel (same options in both programms).
Hi
Thanks for your request. I think, ArrowType is what you are looking for:
For example to create an arrow in MS Word document, you can use the following code:
Document doc = new Document();
Shape lineShape = new Shape(doc, ShapeType.Line);
lineShape.Width = 100;
lineShape.Stroke.EndArrowType = ArrowType.Arrow;
doc.FirstSection.Body.FirstParagraph.AppendChild(lineShape);
doc.Save(@"Test001\out.doc");
Hope this helps.
Best regards,
Thanks a lot.
Do you now, where I can find these options in Aspose.Cells object model?
I’m converting from excel to word and I have to set correct arrow styles …
Hi
Thanks for your request. I suppose you can use this property:
But you would better ask in Aspose.Cells forum. My colleagues from Aspose.Cells team will answer you shortly.
Best regards,