This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Hi jason
andy |
|
|
Hi Andy, One way to do this is to use the DiagramSurface.SetViewport method. You could first use the GetViewport method if you need to get the width and height and keep them the same. Another option is to use the DiagramSurface.ScrollViewer.TranslateViewport method which shifts the viewport by the given X and Y values. Again, you'd probably want to use GetViewport to work out how far it needs to shift to get back to 0,0. Let me know if you have further questions about this. -Jason Fauchelle |
|
|
It works Thank you very much! |
|