none
can i get compare revisions by api? RRS feed

  • Question

  • hi

    when i use compare function, word provider a revision panel which show diff detail between two document.

    can i get these revisions info by API?

    thanks

    Wednesday, June 11, 2014 5:12 AM

Answers

  • Hello,

    Are you talking about a Word document? Could you please be more specific?

    If so, I'd recommend asking Word specific questions in the Word for Developers forum instead. The current forum is for VSTO specific questions.

    Anyway, the Revisions property of the Document class returns a Revisions collection that represents the tracked changes in the document or range. It seems this is exactly what you are looking for.

    • Marked as answer by sendreams Thursday, June 12, 2014 1:44 AM
    Wednesday, June 11, 2014 11:47 AM

All replies

  • Hello,

    Are you talking about a Word document? Could you please be more specific?

    If so, I'd recommend asking Word specific questions in the Word for Developers forum instead. The current forum is for VSTO specific questions.

    Anyway, the Revisions property of the Document class returns a Revisions collection that represents the tracked changes in the document or range. It seems this is exactly what you are looking for.

    • Marked as answer by sendreams Thursday, June 12, 2014 1:44 AM
    Wednesday, June 11, 2014 11:47 AM
  • hi, Eugene

    thank you very much.

    i have found the  appropriate api is " _Application.CompareDocuments".

    thanks

    Thursday, June 12, 2014 1:43 AM