File tree Expand file tree Collapse file tree 1 file changed +6
-4
lines changed
_articles/indepth/development Expand file tree Collapse file tree 1 file changed +6
-4
lines changed Original file line number Diff line number Diff line change @@ -164,9 +164,9 @@ export default {
164164 * Note:
165165 * This following line of code uses the PDF Rasterizer which is an extra add-on that is licensed separately
166166 */
167- this .DWTObject .Addon .PDF .SetConvertMode (
168- Dynamsoft .DWT .EnumDWT_ConvertMode .CM_RENDERALL
169- );
167+ this .DWTObject .Addon .PDF .SetReaderOptions ({
168+ convertMode : Dynamsoft .DWT .EnumDWT_ConvertMode .CM_RENDERALL
169+ } );
170170 this .DWTObject .LoadImageEx (
171171 " " ,
172172 Dynamsoft .DWT .EnumDWT_ImageType .IT_ALL ,
@@ -324,7 +324,9 @@ function openImage() {
324324 * Note:
325325 * This following line of code uses the PDF Rasterizer which is an extra add-on that is licensed separately
326326 */
327- DWTObject .Addon .PDF .SetConvertMode (Dynamsoft .DWT .EnumDWT_ConvertMode .CM_RENDERALL );
327+ DWTObject .Addon .PDF .SetReaderOptions ({
328+ convertMode: Dynamsoft .DWT .EnumDWT_ConvertMode .CM_RENDERALL
329+ });
328330 DWTObject .LoadImageEx (
329331 " " ,
330332 Dynamsoft .DWT .EnumDWT_ImageType .IT_ALL ,
You can’t perform that action at this time.
0 commit comments