I have a VisualStudio project which creates and, sometimes, appends .pdf docs. To append, I'm using the InsertPages function. This usually works. However, I've come upon an instance where the function fails. However, I don't know why. Is there a return code or attribute I can check to determine why InsertPages failed?
If there is an error message ,please share with us.
Aren't you using Acrobat to insert pages?