File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -240,13 +240,13 @@ A Promise object which will be resolved with a boolean value.
240240** Code Snippet**
241241
242242``` typescript
243- const updateFirstPage = {
244- fileIndex: 1 , // using the second page of new file.
243+ const updatePageOptions = {
244+ fileIndex: 1 , // Using the second page of the new multi-page file, such as PDF or TIFF .
245245};
246246
247247const fileData = /* sample blob*/ ,
248248
249- await firstDoc .updatePage (firstDoc .pages [0 ], fileData , updateFirstPage );
249+ await firstDoc .updatePage (firstDoc .pages [0 ], fileData , updatePageOptions );
250250```
251251
252252** Promise Exception**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface UpdatePageOptions {
2727
2828### fileIndex
2929
30- Specify the page index of the file.
30+ Specify the page index of the multi-page file, such as a PDF or TIFF .
3131
3232If it is not specified, the first page in the file will be the updated page.
3333
You can’t perform that action at this time.
0 commit comments