update watermarks webviewer

This commit is contained in:
Dan Percic 2024-10-31 11:54:06 +02:00
parent 0adf3288c8
commit 7252119228

View File

@ -246,7 +246,7 @@ export class WatermarkScreenComponent implements OnInit {
}
async #loadViewer() {
this.instance = await WebViewer(
this.instance = await WebViewer.Iframe(
{
licenseKey: this._licenseService.activeLicenseKey,
path: this.#convertPath('/assets/wv-resources/11.0.0'),
@ -254,6 +254,7 @@ export class WatermarkScreenComponent implements OnInit {
fullAPI: true,
isReadOnly: true,
backendType: 'ems',
ui: 'legacy',
},
// use nativeElement instead of document.getElementById('viwer')
// because WebViewer works better with this approach