Code: Select all
toViewer.ZoomMode = fromViewer.ZoomMode; toViewer.Zoom = fromViewer.Zoom; toViewer.DocumentAlignment = fromViewer.DocumentAlignment; toViewer.DocumentPosition = fromViewer.DocumentPosition; toViewer.SetVScrollBarPosition(fromViewer.GetVScrollBarPosition()); toViewer.SetHScrollBarPosition(fromViewer.GetHScrollBarPosition());
Hope this helps.
That's pretty much it, and if you want, you can also have a look at our Document Clean Up demo in the c# folder of the demos folder.
It has exactly what you want.
Who is online
Users browsing this forum: No registered users and 2 guests