Hi Thorsten
It looks like there is a snag with using DesktopScaled for individual drawing entities, the units of measure are then tied to Pixels only? Most drawing work is done in either millimeters or inches.
I think it should be OK to work without this feature, until now I have found it adequate to ensure the Compiler dpi aware option is selected. Food for thought for those that need it.
Edit: Now I'm not sure

Am I over thinking it? If I change the outputs of dpiX and dpiY to doubles, then accuracy shouldn't be lost if the Units are inches or mm.