DocAI
SpellCheck Method (Paragraph, String)
|
Check the spelling of the paragraph.
Namespace:
Spire.Doc.AI
Assembly:
Spire.Doc (in Spire.Doc.dll) Version: 13.2.3.0 (13.2.3.3046)
Syntax
public string SpellCheck(
Paragraph paragraph,
string language = ""
)
Public Function SpellCheck (
paragraph As Paragraph,
Optional language As String = ""
) As String
public:
String^ SpellCheck(
Paragraph^ paragraph,
String^ language = L""
)
member SpellCheck :
paragraph : Paragraph *
?language : string
(* Defaults:
let _language = defaultArg language ""
*)
-> string
Parameters
-
paragraph
-
Type:
Spire.Doc.Documents
Paragraph
The paragraph 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