I am trying to run an old macro in CorelDRAW 2017 that was programmed in X6. The problem is when I try to use the .position feature. CorelDRAW x6 would give me unrounded values, like 1.6793. However, CorelDRAW 2017 rounds these numbers and will instead give me 1. Is there a way to turn the rounding off? It is causing my code to give me a 0 when it should be 0.2465 and therefore causes it to divide by zero. Thank you!
It might help if you showed a simple code example where CorelDRAW is returning rounded numbers. This, for example, is not showing rounded numbers:
Sub show_position() MsgBox ActiveShape.PositionX & ", " & ActiveShape.PositionY End Sub