1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 | <SCRIPT runat="server" language="VB"> Sub Page_Load(Source As Object, e As EventArgs) Dim DC As Object : DC = CreateObject("Neevia.docCreator") DC.mergeMultipleTIFF("d:\file1.tif+d:\file2.tif+d:\file3.tif", "d:\out.tif") DC.convertImage("d:\out.tif", "d:\out.pdf") DC.fileDelete("d:\out.tif") DC = Nothing Response.Write("Done converting!!!") End Sub </SCRIPT> |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 | <SCRIPT runat="server" language="C#"> void Page_Load(object Source, EventArgs e) { Neevia.docCreator DC = new Neevia.docCreator(); DC.mergeMultipleTIFF(@"d:\file1.tif+d:\file2.tif+d:\file3.tif", @"d:\out.tif"); DC.convertImage(@"d:\out.tif", @"d:\out.pdf"); DC.fileDelete(@"d:\out.tif"); DC = null; Response.Write("Done converting!!!"); } </SCRIPT> |