From 8ee1b57544fd1704fdae2ede526113a4c5942e52 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Fri, 20 Sep 2024 14:48:08 +0800 Subject: [PATCH 1/2] update to internal commit a4eb2d0f --- faq/dwt-with-annotation.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/faq/dwt-with-annotation.md b/faq/dwt-with-annotation.md index 5c0b0749..89e50b1e 100644 --- a/faq/dwt-with-annotation.md +++ b/faq/dwt-with-annotation.md @@ -72,7 +72,7 @@ Define the following elements: ```javascript // Dynamsoft Document Viewer // Public trial license which is valid for 24 hours -// You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=mwc +// You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv Dynamsoft.DDV.Core.license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; Dynamsoft.DDV.Core.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-document-viewer@latest/dist/engine"; await Dynamsoft.DDV.Core.init(); @@ -118,7 +118,7 @@ Links to API Reference: ```javascript // Create Dynamic Web TWAIN object // Public trial license which is valid for 24 hours -// You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwt +// You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv Dynamsoft.DWT.UseDefaultViewer = false; Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; @@ -293,7 +293,7 @@ let DWObject, editViewer, ddvDoc; (async function(){ // Dynamsoft Document Viewer // Public trial license which is valid for 24 hours - // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=mwc + // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv Dynamsoft.DDV.Core.license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; Dynamsoft.DDV.Core.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-document-viewer@latest/dist/engine"; await Dynamsoft.DDV.Core.init(); @@ -316,7 +316,7 @@ let DWObject, editViewer, ddvDoc; // Create Dynamic Web TWAIN object // Public trial license which is valid for 24 hours - // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwt + // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv Dynamsoft.DWT.UseDefaultViewer = false; Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; From a2e7457ac57c3de49e1afcfd9167fb927886fcb1 Mon Sep 17 00:00:00 2001 From: DMGithubPublisher Date: Fri, 20 Sep 2024 15:00:08 +0800 Subject: [PATCH 2/2] update to internal commit 53a85658 --- faq/dwt-with-annotation.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/faq/dwt-with-annotation.md b/faq/dwt-with-annotation.md index 89e50b1e..868615d7 100644 --- a/faq/dwt-with-annotation.md +++ b/faq/dwt-with-annotation.md @@ -119,9 +119,9 @@ Links to API Reference: // Create Dynamic Web TWAIN object // Public trial license which is valid for 24 hours // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv -Dynamsoft.DWT.UseDefaultViewer = false; -Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; +Dynamsoft.DWT.UseDefaultViewer = false; +Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; let DWObject; // Create a Dynamic Web TWAIN instance without the built-in viewer @@ -294,7 +294,8 @@ let DWObject, editViewer, ddvDoc; // Dynamsoft Document Viewer // Public trial license which is valid for 24 hours // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv - Dynamsoft.DDV.Core.license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; + let license = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; + Dynamsoft.DDV.Core.license = license; Dynamsoft.DDV.Core.engineResourcePath = "https://cdn.jsdelivr.net/npm/dynamsoft-document-viewer@latest/dist/engine"; await Dynamsoft.DDV.Core.init(); @@ -315,11 +316,10 @@ let DWObject, editViewer, ddvDoc; editViewer.openDocument(ddvDoc.uid); // Create Dynamic Web TWAIN object - // Public trial license which is valid for 24 hours - // You can request a 30-day trial key from https://www.dynamsoft.com/customer/license/trialLicense/?product=dwtddv + Dynamsoft.DWT.ProductKey = license; Dynamsoft.DWT.UseDefaultViewer = false; Dynamsoft.DWT.ResourcesPath = "https://cdn.jsdelivr.net/npm/dwt@latest/dist"; - Dynamsoft.DWT.ProductKey = "DLS2eyJvcmdhbml6YXRpb25JRCI6IjIwMDAwMSJ9"; + // Create a Dynamic Web TWAIN instance without the built-in viewer Dynamsoft.DWT.CreateDWTObjectEx({ WebTwainId: "dwtId",