Hello All,I've downloaded and compiled the latest print sample by dbroux. Using it, I noticed the print to scale functionality didn't work. Poking around I noticed it was because the MapUnits was being detected as "Undefined" by the MapPrinter control. Manually setting that to "Feet" in XAML resolved that. (The Projection is nothing weird, it's a state plane zone) However, two issue still remain:
- the scalebar on the printout just shows NaN. I know what the means, but why?
- I cannot pan the map in the MapPrinterDialog window. I can zoom in and out with the mouse wheel, but that's it.
I'm sure they're all related. <printing:MapPrinterDialog x:Name="MapPrinterDialog" Width="340" Height="405" Background="{x:Null}" Foreground="White" >
<printing:MapPrinter x:Name="mapPrinterWithDialog" Map="{Binding ElementName=MyMap}" IsActive="{Binding ElementName=btnPrint, Path=IsChecked }" MapUnits="Feet" />
</printing:MapPrinterDialog>