Sets the file extensions accepted by the right pane's "choose file" (with or without the leading dot). Only extensions the viewer can open are kept; pass null / undefined to restore the default.
The accepted extensions.
instance.UI.setCustomMultiViewerAcceptedFileFormats(['pdf']); Copy
instance.UI.setCustomMultiViewerAcceptedFileFormats(['pdf']);
Sets the file extensions accepted by the right pane's "choose file" (with or without the leading dot). Only extensions the viewer can open are kept; pass null / undefined to restore the default.