Skip to main content
All docs
V25.2
  • AIDocProcessingService.ProofreadAsync(DocumentRange, 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

    public Task ProofreadAsync(
        DocumentRange documentRange,
        CultureInfo culture,
        CancellationToken cancellationToken = default(CancellationToken)
    )

    Parameters

    Name Type Description
    documentRange DocumentRange

    The document range which text should be reviewed.

    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.

    See Also