DocumentCaptureTask.language
|
Property Description |
The language of the document. Use values from the documentCapture.Language enum to set the value of this property. If you don't specify a language, English is used by default. For more information, see the description of the |
|
Type |
string |
|
Module |
|
|
Parent Object |
|
|
Sibling Object Members |
|
|
Since |
2025.2 |
Errors
|
Error Code |
Thrown If |
|---|---|
|
|
The value of this property is not included in the documentCapture.Language enum. |
Syntax
The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/task Module Script Samples.
// Add additional code
...
var myDocCaptureTask = task.create({
taskType: task.TaskType.DOCUMENT_CAPTURE
});
myDocCaptureTask.language = documentCapture.Language.CES;
...
// Add additional code