Render rotated text within shapes

Currently we are reading Word documents and extract data, including word-images.

Using the GetShapeRenderer on shapes gives use pretty much what we want of these shapes but when these shapes contain text and are rotated the text it self is shown simply horizontal where as the rest of the shape is rotated 30 degrees. How render this image with also the text rotated?
(note: we are using Aspose.Words 13.7)

Two samples added with left the Aspose output and left the Word-view.

Hi there,

Thanks for your inquiry. I have tested the scenario by using following code snippet and have managed to reproduce the same issue at my side. I have attached the input/output document with this post for your reference. It would be great if you please share your input document here for testing. I will investigate the issue with your documents on my side and provide you more information.

Document doc = new Document(MyDir + "Test40.docx");
foreach (Shape shape in doc.GetChildNodes(NodeType.Shape, true))
{
    shape.GetShapeRenderer().Save(MyDir + "Out.png", new ImageSaveOptions(SaveFormat.Png));
}

I have logged this issue as WORDSNET-9042 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

Added my testing document.

(note: i saw a few other differences between Word and the Aspose output; eq: The eyes of the smily filled vs. empty and the arrow with the dashed tail looks different come to mind)

Hi there,

Thanks for sharing the document.

Regarding shape’s rendering issue (arrow tail and smiley face), I have managed to reproduce the same issue at my side by using following code example.

Document doc = new Document(MyDir + "in.docx");
int i = 1;
foreach (DrawingML dml in doc.GetChildNodes(NodeType.DrawingML, true))
{
    dml.GetShapeRenderer().Save(MyDir + "Out\\Out_" + i + ".png", new 
    ImageSaveOptions(SaveFormat.Png));
    i++;
}

I have logged this issue as WORDSNET-9048 in our issue tracking system. I have linked this forum thread to the same issue and you will be notified via this forum thread once this issue is resolved.

We apologize for your inconvenience.

The issues you have found earlier (filed as WORDSNET-9048) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.

The issues you have found earlier (filed as WORDSNET-9042) have been fixed in this .NET update and this Java update.

This message was posted using Notification2Forum from Downloads module by aspose.notifier.