使用 C# 创建带有嵌入 SWF 和 FlashVars 的 PDF
我想生成一个嵌入 swf 的 PDF。 我还想确保 SWF 嵌入了名为 XMLDATA 的 flashvar,其中包含图表信息。
我想使用 C# 以编程方式实现此目的。
我发现了很多允许嵌入 swf 的方法,但需要一种正式支持 flashvars 机制的方法。
请并谢谢你。
I would like to generate a PDF with an swf embed into it.
I would also like to make sure the SWF is embedded with a flashvar called XMLDATA which contains charting information.
I would like to achieve this programmatically using c#.
I have found plenty of ways that allow embedding swf, but need one that formally supports the flashvars mechanism.
Please and thank you.
您是否尝试过
ItextSharp
。我做了一些研究,看起来它提供了你想要的东西。RichMediaInstance 类
RichMediaParams 类
Have you tried
ItextSharp
. I made some research and seems like it provides what you want.RichMediaInstance Class
RichMediaParams Class