commit
This commit is contained in:
@@ -6694,6 +6694,11 @@ var PDFPageView = function () {
|
|||||||
//获取页面最大长度
|
//获取页面最大长度
|
||||||
// var page_height = Math.max(document.body.scrollHeight, document.body.clientHeight+350);
|
// 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 page_height = parseInt(textLayerDiv.style.height) //获取pdf页面长度
|
||||||
var pdf_page =document.getElementById("viewer");
|
var pdf_page =document.getElementById("viewer");
|
||||||
//2021/12/5 分辨率不同的情况会出现问题
|
//2021/12/5 分辨率不同的情况会出现问题
|
||||||
|
|||||||
Reference in New Issue
Block a user