Tag: DPI

Disable DPI Awareness

Symptom Very rarely, but it does happen, that developers are faced with a very strange behaviour where their winForm application automatically changes it size on start up when DicomObjects.NET version 8 is loaded. Using earlier versions will not give the same behaviour. Root Cause This scaling issue is caused by PresentationCore.dll (which is referneced by DicomObjects.NET v8 for 3D related data structures) which makes a call to SetProcessDPIAware when it is loaded.

Continue reading..