Skip to content

移动页面

以下是移动页面的示例代码:

javascript
// 将文档的第一页移动到第二页。
const pagesIndexToMove = [0];
const targetPageIndex = 2;
docViewer.movePages(pagesIndexToMove, targetPageIndex);