Canvas: Fit elements to screen

May 23 2016 10:03 AM

Hello everybody

I'm writing an WPF/Canvas application, which creates elements dynamically.
 
I don't know how to set the whole figure in the rendered area. The goal is to see the whole figure after creation.
 
I already know the min/max coordinates of the whole figure.
 
Any ideas?
Thanks in advance, Manfred
 

Brought to you by:

Answers (2)