This class is used to setup license for the viewer. License should be set before initializing the viewer.
const aViewer = new OccViewer('/');aViewer.license.licenseServerUrl = 'http://localhost:9123';aViewer.license.features = [LicenseFeatures.Core, LicenseFeatures.Medical];...aViewer.init(); Copy
const aViewer = new OccViewer('/');aViewer.license.licenseServerUrl = 'http://localhost:9123';aViewer.license.features = [LicenseFeatures.Core, LicenseFeatures.Medical];...aViewer.init();
Get license features
Set license features
Get license error
Set license file url
Set license url
This class is used to setup license for the viewer. License should be set before initializing the viewer.
Example