1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 | <%@ Page Language="C#" %>
<%@ Assembly Name = "docConverter" %>
<%@ Import Namespace = "Neevia" %>
<SCRIPT runat="server">
void Page_Load(object Source, EventArgs e)
{
Neevia.docConverter DC = new Neevia.docConverter();
int RVal = DC.mergePDF(@"c:\users\public\file1.pdf", @"c:\users\public\file2.pdf", @"c:\users\public\out.pdf");
DC = null;
if (RVal != 0) {
Response.Write("Error merging!!!RVal="+RVal.ToString());
} else {
Response.Write("Done !!!");
}
}
</SCRIPT>
|