Click or drag to resize

DocAI Translate Method (TextRange, String)

Translates the text within the text range.

Namespace: Spire.Doc.AI
Assembly: Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public string Translate(
	TextRange textRange,
	string language
)

Parameters

textRange
Type: Spire.Doc.Fields TextRange
The text range representing the source data.
language
Type: System String
The target language for translation.

Return Value

Type: String
See Also