Issue with symbol stretching when changing angle in code

Issue with symbol stretching when changing angle in code

Hello, 

in Zenon 10 it is possible to create symbols onto a screen from the symbol library with the SCADA Addin Framework (C#):
  1. var newSymbol = screen.InsertSymbol("mySymbol", "", true);

However, once the angle is set by 

  1. newSymbol.SetDynamicProperty("Angle", 45);
for some reason the width and height of the symbol changes to fit the same square size it has after rotation, therefore stretching the symbol and making it look bad:


This seems like a very odd behavior and differs from the editor (where changing the angle simply rotates the symbol without any stretching). Is there a way to bypass this without re-calculating the width and height after rotation by own code?

Sincerely,
Olgierd