Skip to content
9 changes: 7 additions & 2 deletions types/dwt/addon.pdf.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,11 @@ declare enum EnumDWT_ConvertMode {
CM_RENDERALL = 1
}

declare enum EnumDWT_ConverMode {
CM_DEFAULT = 0,
CM_RENDERALL = 1
}

/**
* @class
*/
Expand Down Expand Up @@ -43,10 +48,10 @@ interface PDF {
/**
* Set the image convert mode for PDF Rasterizer in Dynamic Web TWAIN.
* @method Dynamsoft.WebTwain#SetConvertMode
* @param {EnumDWT_ConvertMode} convertMode Specifies the image convert mode.
* @param {EnumDWT_ConvertMode | EnumDWT_ConverMode} convertMode Specifies the image convert mode.
* @return {boolean}
*/
SetConvertMode(convertMode: EnumDWT_ConvertMode): boolean;
SetConvertMode(convertMode: EnumDWT_ConvertMode | EnumDWT_ConverMode): boolean;

/**
* Set the output resolution for the PDF Rasterizer in Dynamic Web TWAIN.
Expand Down
Loading