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 seems to be due the compatibility with different versions of Windows. Try to change the decimal values on your Windows. For example, on some languages you should use the comma instead dot
It might help if you showed a simple code example where CorelDRAW is returning rounded numbers. This, for example, is not showing rounded numbers:
MsgBox ActiveShape.PositionX & ", " & ActiveShape.PositionY