|
Group: Forum Members
Posts: 7,
Visits: 4
|
Thanks,
I've tried saving the NDrawingView.ViewportOrigin and NDrawingView.ScaleX & ScaleY properties, and then reassigning them back to the view when it is recreated.
On recreation, I set the ScaleX & ScaleY properties successfully, but the ViewportOrigin setter doesn't seem to "take" the PointF value I assign to it - it's getter value doesn't match the value I've set. Is there some additional validation logic within the ViewportOrigin setter that requires other stuff to be set correctly first?
Can you advise on the minimum properties I need to persist and restore to get back the zoom and pan state for the control? Are there other refresh methods I need to call?
Thanks Andy
|