VintaSoft Annotation .NET Plug-in Discussions
Questions, comments and suggestions concerning VintaSoft Annotation .NET Plug-in.
Board index < VintaSoft Imaging < VintaSoft Annotation .NET Plug-in Discussions
//Loading PDF file
this.annotationViewer.Dispatcher.Invoke(new Action(() =>
{
this.annotationViewer.Image = image;
//Set the initial zoom
UpdateZoom(Vintasoft.Imaging.UI.ImageSizeMode.BestFit);
(ViewManager.Instance.ControlsWindow.DataContext as ControlsWindowVM).MinZoomValue = (float)this.annotationViewer.Zoom;
}));
Thanks for any help
this.annotationViewer.Dispatcher.Invoke(new Action(() =>
{
this.annotationViewer.Image = image;
//Set the initial zoom
UpdateZoom(Vintasoft.Imaging.UI.ImageSizeMode.BestFit);
(ViewManager.Instance.ControlsWindow.DataContext as ControlsWindowVM).MinZoomValue = (float)this.annotationViewer.Zoom;
}));
this._undoManager = new UndoManager();
this._undoMonitor = new WpfAnnotationViewerUndoMonitor(this._undoManager, this.annotationViewer);