Turns on side-by-side sync (zoom, scrolling / page turning). The primary key can only be 1 or 2; anything else means 1. Sync starts once both documents are loaded.
Optional
The key of the primary viewer.
instance.UI.enableMultiViewerSync(1); Copy
instance.UI.enableMultiViewerSync(1);
Turns on side-by-side sync (zoom, scrolling / page turning). The primary key can only be 1 or 2; anything else means 1. Sync starts once both documents are loaded.