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.
240
240
** Code Snippet**
241
241
242
242
``` 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 .
245
245
};
246
246
247
247
const fileData = /* sample blob*/ ,
248
248
249
- await firstDoc .updatePage (firstDoc .pages [0 ], fileData , updateFirstPage );
249
+ await firstDoc .updatePage (firstDoc .pages [0 ], fileData , updatePageOptions );
250
250
```
251
251
252
252
** Promise Exception**
Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ interface UpdatePageOptions {
27
27
28
28
### fileIndex
29
29
30
- Specify the page index of the file.
30
+ Specify the page index of the multi-page file, such as a PDF or TIFF .
31
31
32
32
If it is not specified, the first page in the file will be the updated page.
33
33
You can’t perform that action at this time.
0 commit comments