ExcelAI
ExcelTranslate Method (List
Worksheet
, String, Boolean)
|
Translates the text within the specified worksheets using AI.
Namespace:
Spire.Xls.AI
Assembly:
Spire.XLS (in Spire.XLS.dll) Version: 15.4.0.0 (15.4.0.5046)
Syntax
public string ExcelTranslate(
List<Worksheet> srcWorksheets,
string language,
bool translateSheetName = true
)
Public Function ExcelTranslate (
srcWorksheets As List(Of Worksheet),
language As String,
Optional translateSheetName As Boolean = true
) As String
public:
String^ ExcelTranslate(
List<Worksheet^>^ srcWorksheets,
String^ language,
bool translateSheetName = true
)
member ExcelTranslate :
srcWorksheets : List<Worksheet> *
language : string *
?translateSheetName : bool
(* Defaults:
let _translateSheetName = defaultArg translateSheetName true
*)
-> string
Parameters
-
srcWorksheets
-
Type:
System.Collections.Generic
List
Worksheet
The list of Worksheets representing the source data.
-
language
-
Type:
System
String
The target language for translation.
-
translateSheetName
(Optional)
-
Type:
System
Boolean
A boolean indicating whether to translate the sheet names.
Return Value
Type:
String
a string indicating whether the processing was successful or not.
See Also