CST STUDIO SUITE - Cable Simulation.pdf_英中对照第2章一概述…
·····:4:···:··············44···:·············4:·*····.··············:··:
.8用户界
面
Main frame
.··········
···:···:···············:4·:4·4···············4·········
·······4···········
8
Interface to CST
pdf.js默认是支持分段加载,大文件能减少打开时间。
前端代码
var pdfview = _path+'js/pdfjs/web/viewer.html';
function online_pdf(path) {
var index= path.lastIndexOf(.);
//获取后缀
var ext = path.substr(index+1);
if (ext=='pdf') {
//加载文件接口
var url_s = _path