Document.Compare 方法 (Word) Microsoft Ignite 2024 年 11 月 19 日至 22 日 立即注册 消除警报 Learn 发现 产品文档 开发语言 主题 登录 本文原文为英文,已针对你所在市场进行了翻译。 你对所用语言的质量的满意度如何? 请告诉我们 消除警报 方法
可以比较文档的两个版本以查看它们如何不同。 还可以将同一文档的两个版本合并为一个新文档。 在这两种情况下,Word 都可以通过修订标记来显示区别。 比较文档的两个版本 打开要比较的两个文档版本中的一个。 在“审阅”菜单上,选择“比较文档”。 在“原始文档”列表中,选择原始文档。 在“修订...
RemoveDateAndTime選用BooleanTrue 是表示移除日期和時間戳記資訊傳回Document物件中的追蹤修訂。 預設值為False。 範例 這則範例會比較使用中文件與 Draft 資料夾中名為 "FirstRev.doc" 的文件,並將比較差異放置於新文件中。 VB複製 SubCompareDocument() ActiveDocument.CompareName:="C:\Draft\FirstRev.doc", _ ...
If either version of the document has tracked changes, Microsoft Word displays a message box about this. You can clickYesto accept the changes and compare the documents. Microsoft Word displays a new third document in which tracked changes in the original document are...
命名空间: Microsoft.Office.Tools.Word 程序集: Microsoft.Office.Tools.Word.dll, Microsoft.Office.Tools.Word.v4.0.Utilities.dll显示修订标记以指出该文档与其他文档的不同之处。 C# 复制 public void Compare(string Name, ref object AuthorName, ref object CompareTarget, ref object DetectFormatChanges,...
RevisedDocument必需Document指定与原始文档进行比较的修订后文档的路径和文件名。 Destination可选WdCompareDestination指定是否要创建新文件或是否标记两个文档在原始文档或修订文档之间的差异。 默认值为wdCompareDestinationNew。 Granularity可选WdGranularity指定是否按字符还是按 word 跟踪更改。 默认值为wdGranularityWordLeve...
程序集: Microsoft.Office.Interop.Word.dll 比较两个文档,并返回一个 对象,该对象代表包含两个 _Document 文档之间的差异的文档,并使用跟踪的更改进行标记。 C# 复制 public Microsoft.Office.Interop.Word.Document CompareDocuments (Microsoft.Office.Interop.Word.Document OriginalDocument, Microsoft.Office.Interop...
Open the managed document in Microsoft Word (see"Opening Files in Microsoft Office Applications"). Microsoft Word 2002 (XP) or 2003:On theOracle UCMmenu, chooseCompare Withand thenEarlier Revision... Microsoft Word 2007:On theOracle UCMribbon, chooseWith Earlier Revisionon theComparepanel. Note...
If you answered yes to either of these questions, you'll appreciate the value of being able to compare two versions of a file. The good news is that Word has a built-in Compare command. Unfortunately, it's not immediately obvious how best to use the command, or even where it is. ...
However, when using the Word 2007 compare document function, it’s important to note that Microsoft no longer fully supports this past version. There may be some differences compared to recent applications. It’s important to note that word files from different versions may cause the revised docu...