DocAI
AbstractGenerate Method (TextRange, String)
|
Generate an abstract 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 AbstractGenerate(
TextRange textRange,
string language = ""
)
Public Function AbstractGenerate (
textRange As TextRange,
Optional language As String = ""
) As String
public:
String^ AbstractGenerate(
TextRange^ textRange,
String^ language = L""
)
member AbstractGenerate :
textRange : TextRange *
?language : string
(* Defaults:
let _language = defaultArg language ""
*)
-> string
Parameters
-
textRange
-
Type:
Spire.Doc.Fields
TextRange
The text range to add the content written by AI.
-
language
(Optional)
-
Type:
System
String
Return Value
Type:
String
A sync task that returns a string indicating whether the processing was successful or not.
See Also