Can you please make sure all needed references are added in your project as per this help article
? If this does not help, please verify that the version you are using in your project is Q1 SP1 2013 and try to provide us with a sample document which we can use for troubleshooting.
Let me know how it goes.
All the best,