由于它们是针对其他平台制作的,因此我尽量遵循所提供的说明。我真的需要使用ASP.NET MVC在浏览器上运行PDF查看器,并在浏览器上对PDF文件进行一些操作。
任何帮助将不胜感激,这取决于公司购买正式许可证的方式。
随附的是我的设置以及运行时的错误。 看起来好像要说“设置Foxit PDF Viewer”,但加载小部件永不消失。
下面由福昕提供的代码...
<!DOCTYPE html>
<html lang="en" manifest="./offline.appcache">
<head>
<title>Foxit WebPDF Viewer</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no">
<meta name="keywords" content="pdf reader online,pdf viewer online,pdf online viewer,reading cloud,cloud reader,view pdf online,read pdf online,pdf drive,online drive,cloud drive,drive pdf viewer">
<meta name="description" content="PDF document collaboration from anywhere and anytime.">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="renderer" content="webkit">
<link rel="shortcut icon" href="./images/favicon.ico" type="image/x-icon">
<style>body {margin: 0}</style>
<link rel="stylesheet" href="//fonts.googleapis.com/css?family=Open+Sans:300,400,600,700|PT+Sans+Narrow|Source+Sans+Pro:200,300,400,600,700,900&subset=all">
<link rel="stylesheet" href="./styles/webpdf.full.mini.css">
</head>
<body>
<div id="docViewer" style="background: #dddedf;"></div>
<script type="text/javascript" src="./scripts/jquery-3.3.1.min.js"></script>
<script type="text/javascript" src="./scripts/jquery-migrate-3.0.1.min.js"></script>
<script type="text/javascript" src="./scripts/jquery-ui.min.js"></script>
<script type="text/javascript" src="./scripts/jquery.form.min.js"></script>
<script type="text/javascript" src="./scripts/release/webpdf.full.mini.js"></script>
<script type="text/javascript" src="./scripts/control/toolbar/toolbar-config.bundle.js"></script>
<script type="text/javascript" src="./scripts/demo-license-key.js"></script>
<script type="text/javascript" src="./scripts/control/pc/demo.js"></script>
</body>
</html>