The following return values or exception codes (depending on the language used) are common to all methods:
E_NOTIMPL: The license key that is provided does not enable modifying the document.
E_ACCESSDENIED: The document security settings do not allow the user to modify the document.
E_FAIL: Method Failed.