DocAI
Translate Method (Document, String)
|
Translates the text within the specified document.
Namespace:
Spire.Doc.AI
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public string Translate(
Document document,
string language
)
Public Function Translate (
document As Document,
language As String
) As String
public:
String^ Translate(
Document^ document,
String^ language
)
member Translate :
document : Document *
language : string -> string
Parameters
-
document
-
Type:
Spire.Doc
Document
The document representing the source data.
-
language
-
Type:
System
String
The target language for translation.
Return Value
Type:
String
See Also