aspx中如何添加引用-com(microsoft powerpoint object 11.0 libaray)

aspx中如何添加引用-com(microsoft powerpoint object 11.0 libaray),第1张

需要VS的 这个using需要引用com库里面的Microsoft office 14.0 object library 和

Microsoft PowerPoint 14.0 object library 然后代码里面才能成功添加

using Microsoft.Office.Interop.PowerPoint意思就是需要软件

通过嵌套iframe 实现引用html页面

<script type="text/javascript">

$(function () {

document.getElementById("ifm").src =""//Url地址

$("#ifm").load(function () {

var h = document.body.clientHeight

var w = document.body.clientWidth

document.getElementById("ifm").height = h + "px"

document.getElementById("ifm").width = w + "px"

})

})

</script>

<body style="overflow-y:hiddenoverflow-x:hidden">

<div id="pageone" style="">

<iframe name="ifm" id="ifm" scrolling="yes" style="background-color: transparent" marginwidth="0" marginheight="0" frameborder="0">

</iframe>

</div>

</body>

使用jquery,$(document).ready($("#button1").click(function(){$("#div1").load("带编辑器的页面.html")}))


欢迎分享,转载请注明来源:内存溢出

原文地址:https://54852.com/bake/11573750.html

(0)
打赏 微信扫一扫微信扫一扫 支付宝扫一扫支付宝扫一扫
上一篇 2023-05-17
下一篇2023-05-17

发表评论

登录后才能评论

评论列表(0条)

    保存