Skip to content

Commit 69890ff

Browse files
committed
update code about preserveUnmodifiedOnSave in the PDF guide
1 parent 3b34c2a commit 69890ff

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

_articles/extended-usage/pdf-processing.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,9 @@ If you need to append a scanned document to a PDF file and keep the rest pages u
126126
DWTObject.Addon.PDF.SetReaderOptions({
127127
convertMode: Dynamsoft.DWT.EnumDWT_ConvertMode.CM_RENDERALL,
128128
preserveUnmodifiedOnSave: true, //only available for v19.0+
129+
renderOptions:{
130+
renderAnnotations: true //enable this to keep annotations
131+
}
129132
});
130133
```
131134

0 commit comments

Comments
 (0)