ApplicationClass.MergeDocuments Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public virtual Microsoft.Office.Interop.Word.Document MergeDocuments (Microsoft.Office.Interop.Word.Document OriginalDocument, Microsoft.Office.Interop.Word.Document RevisedDocument, Microsoft.Office.Interop.Word.WdCompareDestination Destination = Microsoft.Office.Interop.Word.WdCompareDestination.wdCompareDestinationNew, Microsoft.Office.Interop.Word.WdGranularity Granularity = Microsoft.Office.Interop.Word.WdGranularity.wdGranularityWordLevel, bool CompareFormatting = false, bool CompareCaseChanges = false, bool CompareWhitespace = false, bool CompareTables = false, bool CompareHeaders = false, bool CompareFootnotes = false, bool CompareTextboxes = false, bool CompareFields = false, bool CompareComments = false, bool CompareMoves = false, string OriginalAuthor = "", string RevisedAuthor = "", Microsoft.Office.Interop.Word.WdMergeFormatFrom FormatFrom = Microsoft.Office.Interop.Word.WdMergeFormatFrom.wdMergeFormatFromPrompt);
abstract member MergeDocuments : Microsoft.Office.Interop.Word.Document * Microsoft.Office.Interop.Word.Document * Microsoft.Office.Interop.Word.WdCompareDestination * Microsoft.Office.Interop.Word.WdGranularity * bool * bool * bool * bool * bool * bool * bool * bool * bool * bool * string * string * Microsoft.Office.Interop.Word.WdMergeFormatFrom -> Microsoft.Office.Interop.Word.Document
override this.MergeDocuments : Microsoft.Office.Interop.Word.Document * Microsoft.Office.Interop.Word.Document * Microsoft.Office.Interop.Word.WdCompareDestination * Microsoft.Office.Interop.Word.WdGranularity * bool * bool * bool * bool * bool * bool * bool * bool * bool * bool * string * string * Microsoft.Office.Interop.Word.WdMergeFormatFrom -> Microsoft.Office.Interop.Word.Document
Public Overridable Function MergeDocuments (OriginalDocument As Document, RevisedDocument As Document, Optional Destination As WdCompareDestination = Microsoft.Office.Interop.Word.WdCompareDestination.wdCompareDestinationNew, Optional Granularity As WdGranularity = Microsoft.Office.Interop.Word.WdGranularity.wdGranularityWordLevel, Optional CompareFormatting As Boolean = false, Optional CompareCaseChanges As Boolean = false, Optional CompareWhitespace As Boolean = false, Optional CompareTables As Boolean = false, Optional CompareHeaders As Boolean = false, Optional CompareFootnotes As Boolean = false, Optional CompareTextboxes As Boolean = false, Optional CompareFields As Boolean = false, Optional CompareComments As Boolean = false, Optional CompareMoves As Boolean = false, Optional OriginalAuthor As String = "", Optional RevisedAuthor As String = "", Optional FormatFrom As WdMergeFormatFrom = Microsoft.Office.Interop.Word.WdMergeFormatFrom.wdMergeFormatFromPrompt) As Document
Parameters
- OriginalDocument
- Document
- RevisedDocument
- Document
- Destination
- WdCompareDestination
- Granularity
- WdGranularity
- CompareFormatting
- Boolean
- CompareCaseChanges
- Boolean
- CompareWhitespace
- Boolean
- CompareTables
- Boolean
- CompareHeaders
- Boolean
- CompareFootnotes
- Boolean
- CompareTextboxes
- Boolean
- CompareFields
- Boolean
- CompareComments
- Boolean
- CompareMoves
- Boolean
- OriginalAuthor
- String
- RevisedAuthor
- String
- FormatFrom
- WdMergeFormatFrom
Returns
Implements
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應