mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-06-06 06:19:58 +08:00
change back for test
This commit is contained in:
13
types/dwt/addon.pdf.d.ts
vendored
13
types/dwt/addon.pdf.d.ts
vendored
@@ -1,6 +1,13 @@
|
||||
/**
|
||||
* Dynamsoft WebTwain Addon PDF
|
||||
*/
|
||||
/*!
|
||||
* Dynamsoft WebTwain PDF Addon
|
||||
* Product: Dynamsoft Web Twain
|
||||
* Web Site: http://www.dynamsoft.com
|
||||
*
|
||||
* Copyright 2018, Dynamsoft Corporation
|
||||
* Author: Dynamsoft Support Team
|
||||
* Version: 13.4
|
||||
*/
|
||||
|
||||
declare enum EnumDWT_ConverMode {
|
||||
CM_DEFAULT = 0,
|
||||
TWPT_CM_RENDERALLGRAY = 1
|
||||
|
||||
@@ -103,6 +103,8 @@ function downloadImage() {
|
||||
function loadPDF() {
|
||||
const DWObject = Dynamsoft.WebTwainEnv.GetWebTwain('dwtcontrolContainer');
|
||||
if (DWObject) {
|
||||
DWObject.Addon.PDF.SetResolution(200);
|
||||
DWObject.Addon.PDF.SetConvertMode(1);
|
||||
DWObject.IfShowFileDialog = true;
|
||||
DWObject.LoadImageEx(" ", 5);
|
||||
}
|
||||
|
||||
2
types/dwt/index.d.ts
vendored
2
types/dwt/index.d.ts
vendored
@@ -13,7 +13,7 @@
|
||||
*
|
||||
* Copyright 2018, Dynamsoft Corporation
|
||||
* Author: Dynamsoft Support Team
|
||||
* Version: 13
|
||||
* Version: 13.4
|
||||
*/
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user