# setLanguage

jsPDF setLanguage Plugin

Source:
  - modules/setlanguage.js, line 9

### Methods

#### (inner) setLanguage(langCode) → {jsPDF}

Source:
  - modules/setlanguage.js, line 18

Add Language Tag to the generated PDF

##### Example

    var doc = new jsPDF()
    doc.text(10, 10, 'This is a test')
    doc.setLanguage("en-US")
    doc.save('english.pdf')

##### Parameters:

Name | Type | Description
--- | --- | ---
`langCode` | string | The Language code as ISO-639-1 (e.g. 'en') or as country language code (e.g. 'en-GB').

##### Returns:

Type
  jsPDF