如何在View中显示PDF文档并允许用户在c#MVC中操作它

时间:2014-04-29 13:07:32

标签: c# asp.net-mvc pdf itextsharp

情况如下:我有一个包含输入字段的PDF文档。当用户输入输入并按下“计算”按钮(在pdf外)时,必须计算“结果”字段。我有一个逻辑,使计算已经定义。伪代码中的简单示例:

int firstValue = the_first_input_on_the_pdf.Value;
int seconValue = the_secon_input_on_the_pdf.Value;

int result = firstValue + secondValue;

the_result_input_of_the_pdf.Value = result.ToString();

类似的东西,但我想保留PDF文件的格式。我已准备好填写了。只需要进行计算。我一直在寻找第三方库,这就是我停下来的地方:iTextSharp我想知道是否可以使用它或者有更好的方法。

PS:我需要在MVC应用程序中实现它。

0 个答案:

没有答案