v4.10.10-beta
Thu, 21 September, 2023Breaking changes
- We have overhauled the signer language feature, moving from the previous approach utilizing the Language property to the new Locale property. Previously, the Language property accepted numerical values (e.g., 0, 1, 2, etc.), whereas the updated Locale property now uses standard language codes (e.g., EN for English, SP for Spanish, etc.). As a result, the Language property has been deprecated. To set the language, use the Locale property in the DocumentSigner, Roles, TemplateRoles, and DocumentInfo classes. Refer to the list below for the deprecated property and their respective alternatives.
Deprecate Property | Previous | Now | Description |
---|---|---|---|
Language | // removed code for brevity var documentSigner = new DocumentSigner(language: Languages.English); | // removed code for brevity var documentSigner = new DocumentSigner(); documentSigner.Locale = Locales.EN | The |
Language | // removed code for brevity var roles = new Roles(language: Languages.English); | // removed code for brevity var roles = new Roles(); roles.Locale = Locales.EN; | The |
Language | // removed code for brevity var templateRole = new TemplateRole(language: Languages.English); | // removed code for brevity var templateRole = new TemplateRole(); templateRole.Locale = Locales.EN; | The |
Language | // removed code for brevity var documentInfo = new DocumentInfo(language: Languages.English); | // removed code for brevity var documentInfo = new DocumentInfo(); documentInfo.Locale = Locales.EN; | The |