diff --git a/types/dwt/addon.pdf.d.ts b/types/dwt/addon.pdf.d.ts index 2e7b1d5a84..6a2a8636ee 100644 --- a/types/dwt/addon.pdf.d.ts +++ b/types/dwt/addon.pdf.d.ts @@ -6,7 +6,7 @@ * * Copyright 2018, Dynamsoft Corporation * Author: Dynamsoft Support Team -* Version: 13.4 +* Version: 14.2 */ declare enum EnumDWT_ConvertMode { diff --git a/types/dwt/index.d.ts b/types/dwt/index.d.ts index 0656236f08..12813a9b40 100644 --- a/types/dwt/index.d.ts +++ b/types/dwt/index.d.ts @@ -1,4 +1,4 @@ -// Type definitions for dwt 13.4 +// Type definitions for dwt 14.2 // Project: http://www.dynamsoft.com/Products/WebTWAIN_Overview.aspx // Definitions by: Xiao Ling // Josh Hall @@ -14,7 +14,7 @@ * * Copyright 2018, Dynamsoft Corporation * Author: Dynamsoft Support Team -* Version: 13.4 +* Version: 14.2 */ /** @@ -2889,12 +2889,12 @@ interface WebTwain { * @return {number} */ GetImageYResolution(sImageIndex: number): number; - + /** * Return the runtime license info. * @method WebTwain#GetLicenseInfo */ - GetLicenseInfo(): { Domain: string, Detail: LicenseDetailItem[] }; + GetLicenseInfo(optionalAsyncSuccessFunc?: (result: any) => void, optionalAsyncFailureFunc?: (errorCode: number, errorString: string) => void): boolean; /** * Returns the index of the selected image.