Hi Sir,
This is the code we are using to call the Toolkit.
set TK = Server.CreateObject("APtoolkit.object")
TKreturnCode = TK.OpenOutputFile(Server.MapPath(dirOutput) & "\" & OutfileName)
dim tempFileName
for intI = 1 to PDFcount
tempFileName = Server.MapPath(array(1,intI)) & "\" & array(2,intI)
TK.ClearHeaderInfo
TK.GetBoundingBox tempFileName, intI
'TK.SetHeaderFont "Courier-Bold", 12
'TK.SetHeaderTextColor 255, 0, 50, 0
'pagewidth = TK.BBWidth - TK.GetHeaderTextWidth(array(3,intI))
'TK.SetHeaderText pagewidth/2, 12, array(3,intI)
TKreturnCode = TK.MergeFile(tempFileName, 0, 0)
next
TK.CloseOutputFile
Set TK = Nothing
We believe the code per se is not the issue, simply because the "bundling" DOES work fine. However, its ANY pdf document generated by ASPOSE.cells that CANNOT be bundled. I will attach a simple one here, which I have already tested/proven does not work - meaning will not bundle together with other PDFs.
Attached is a PDF file generated from a simple excel document converted to PDF with aspose.cells.
PS: Note that word docs generated from Aspose.words do not have this issue.
Thanks! Dave