Frameworks
Integrations
Mendix
SharePoint
Modular UI
Legacy UI
AnnotationManager
Annotation Types
Customize
Version 11
Version 10
v10.12
v10.11
v10.10
v10.9
v10.8
v10.7
v10.6
v10.5
v10.4
v10.3
v10.2
v10.1
v10.0
Version 8
v8.12
v8.11
v8.10
v8.9
v8.8
v8.7
v8.6
v8.5
v8.4
v8.3
v8.2
v8.1
v8.0
Version 7
Version 6
v6.3
v6.2
v6.1
v6.0
Version 5
Version 4
Version 3
Version 2
WebViewer Server
WebViewer BIM
In WebViewer version 8.9+ you can have two documents loaded side-by-side in the UI.
To toggle this feature on/off in the WebViewer interface, you can use the following:
This will add the option Side By Side View
in the View controls dropdown. By clicking the Side By Side View
, you can get into Multi-Viewer mode.
You can use the following APIs to enter or exit Multi-Viewer mode:
Before WebViewer 10.5, you would need to use enable/disableFeatures but the prefered way going forward is to use the enterMultiViewerMode
and exitMultiViewerMode
functions shown above.
By default, if fullAPI
is enabled in the WebViewer constructor and instance.UI.Feature.ComparePages
is enabled, MultiViewerMode will come with the 'Start Comparison' button, which when clicked, will highlight all the text differences on the document using annotations.
If you woud like to enable/disable the Show Comparison
Button, you can do it with the API below:
It will also enable a panel that will list the differences allowing you to search through them. You can also click the items in the panel to be scrolled to the highlighted change on both sides.
You can also compare the difference between two documents with documentViewer.startSemanticDiff
and stop the comparison with documentViewer.stopSemanticDiff
.
To disable the comparison functionality, you can pass disableMultiViewerComparison
to the WebViewer constructor.
In MultiViewerMode you can access the APIs on the second DocumentViewer through the getDocumentViewers() API.
To ensure the second DocumentViewer has been intialized before you call it, you can wrap your code in the MULTI_VIEWER_READY event
There are also some additional APIs to control the scroll and zoom syncing.
By default, the save document button is disabled. You can enable this button to allow users to download the document from either side.
Did you find this helpful?
Trial setup questions?
Ask experts on DiscordNeed other help?
Contact SupportPricing or product questions?
Contact Sales