Shapes default color and stroke width

Hi,
while working with shapes in Aspose.Words for .NET I found two ways to insert a shape to a document. The first one is creating a Shape using it’s constructor and then inserting that object using DocumentBuilder.InsertNode method. This one works more or less as expected. In the second one the Shape is inserted by using DocumentBuilder.InsertShape method. In that case, the inserted shape has a shade of blue as it’s fillcolor by default and also has different default stroke width than the first method. I found that on version 22.8, but I managed to replicate it on version 23.9 as well.

Here is an example project:
ShapeDefaultColor.zip (2.6 KB)

If you run it and look at the output file, you can see that the shapes look differently, even though I set the same exact styles for both of them in the code.

Could you please take a look at it?

Thanks

@acturisaspose When shape is created using constructor it is created as VML shape. When documentBuilder.InsertShape method is used - DML shape is created. This causes the difference in appearance.