How to get the DPI of the printer in WPF How to get the DPI of the printer in WPF wpf wpf

How to get the DPI of the printer in WPF