This commit is contained in:
zhaokaiyao@91isoft.com
2021-12-06 17:04:17 +08:00
parent 4cea49c4d6
commit 25ddff8630
+5
View File
@@ -6694,6 +6694,11 @@ var PDFPageView = function () {
//获取页面最大长度
// var page_height = Math.max(document.body.scrollHeight, document.body.clientHeight+350);
// //获取页面最大宽度
// var page_width = parseInt(canvasWrapper.style.width);
// //获取页面最大长度
// var page_height = parseInt(canvasWrapper.style.height);
var page_height = parseInt(textLayerDiv.style.height) //获取pdf页面长度
var pdf_page =document.getElementById("viewer");
//2021/12/5 分辨率不同的情况会出现问题