Dear sir:
I try to merge 2 file to a new 1 , but I got error as: DPAsm error '80131508' Index was outside the bounds of the array.
code as follow, please help.
<%@ Language="VBScript"%>
<%
' control the way this page is cached
Response.Expires = -1
Response.CacheControl = "private"
%>
<!-- METADATA TYPE="typelib" UUID="{DF9225FE-94A4-490D-8CAD-E8366CE621D3}"-->
<%
Dim MyDocument1
Set MyDocument1 = Server.CreateObject( "DynamicPDF.Document" )
' a.pdf size is 800kb
MyDocument1.LoadPdf Server.MapPath("a.pdf")
' b.pdf size is 30000kb
MyDocument1.AppendPdf Server.MapPath("b.pdf")
MyDocument1.DrawToFile(Server.MapPath("C.pdf"))
Set MyDocument1 = Nothing
%>