Skip to main content
All docs
V25.1
  • RichEditDocumentServerExtensions.Compare(Document, Document, CompareDocumentOptions, ComparisonTargetType) Method

    Compares the current document with another document. Returns the document with revisions. Allows you to specify where to load the resulting document.

    Namespace: DevExpress.XtraRichEdit

    Assembly: DevExpress.Docs.v25.1.dll

    NuGet Package: DevExpress.Document.Processor

    Declaration

    public static void Compare(
        this Document originalDocument,
        Document revisedDocument,
        CompareDocumentOptions options,
        ComparisonTargetType targetType
    )

    Parameters

    Name Type Description
    originalDocument Document

    The original document.

    revisedDocument Document

    The document that should be compared to the original document.

    options CompareDocumentOptions

    An object that contains comparison options.

    targetType ComparisonTargetType

    An enumeration value that specifies where to load the resulting document.

    See Also