Free Support Forum - aspose.com

Appenddocument

I am a little confused by the methods of Document (Words).

The reference manual shows document.appendDocument() as a method. my Visual studio lets me code it, IIS6 does not compile it for ASP,net. Do I have an old file somehere?

Hi Steve,

Thanks for your inquiry.

Could you please attach the compile error that you are getting? Also which version of Aspose.Words are you using? The AppendDocument method was implemented in later versions.

You can check the version you are using programmatically:

System.Reflection.Assembly[] assemblies = AppDomain.CurrentDomain.GetAssemblies();<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" />

foreach (System.Reflection.Assembly assembly in assemblies)

{

System.Reflection.AssemblyName assemblyName = assembly.GetName();

if(assemblyName.Name.Contains("Aspose.Words"))

Console.Write("Aspose.Words Version Number: " + assemblyName.Version.ToString());

}

Thanks,