IAIDocProcessingService.ProofreadAsync(Slide, CultureInfo, CancellationToken) Method
Reviews the text for spelling, grammar, punctuation, and style errors.
Namespace: DevExpress.AIIntegration.Docs
Assembly: DevExpress.AIIntegration.Docs.v25.2.dll
NuGet Package: DevExpress.AIIntegration.Docs
Declaration
Task ProofreadAsync(
Slide slide,
CultureInfo culture,
CancellationToken cancellationToken = default(CancellationToken)
)
Parameters
| Name | Type | Description |
|---|---|---|
| slide | Slide | The |
| culture | CultureInfo | An object that specifies culture settings applied during proofreading. |
Optional Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| cancellationToken | CancellationToken | null | The token that cancels the task. |
Returns
| Type | Description |
|---|---|
| Task | The response that contains AI-generated text. |
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ProofreadAsync(Slide, CultureInfo, CancellationToken) method.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.