(0) exportieren Drucken
Alle erweitern
AcceptAllRevisions Method
AcceptAllRevisionsShown Method
Activate Method
AddDocumentWorkspaceHeader Method
AddToFavorites Method
ApplyTheme Method
AutoFormat Method
AutoSummarize Method
CanCheckin Method
CheckConsistency Method
CheckGrammar Method
CheckIn Method
CheckNewSmartTags Method
CheckSpelling Method
Close Method
ClosePrintPreview Method
Compare Method
Compare2000 Method
Compare2002 Method
ComputeStatistics Method
ConvertNumbersToText Method
ConvertVietDoc Method
CopyStylesFromTemplate Method
CountNumberedItems Method
CreateLetterContent Method
DataForm Method
DeleteAllComments Method
DeleteAllCommentsShown Method
DeleteAllEditableRanges Method
DeleteAllInkAnnotations Method
DetectLanguage Method
EditionOptions Method
EndReview Method
FitToPages Method
FollowHyperlink Method
ForwardMailer Method
GetCrossReferenceItems Method
GetLetterContent Method
GoTo Method
MakeCompatibilityDefault Method
ManualHyphenation Method
Merge Method
Merge2000 Method
Post Method
PresentIt Method
PrintOut Method
PrintOut2000 Method
PrintOutOld Method
PrintPreview Method
Protect Method
Protect2002 Method
Range Method
RecheckSmartTags Method
Redo Method
RejectAllRevisions Method
RejectAllRevisionsShown Method
Reload Method
ReloadAs Method
RemoveDocumentWorkspaceHeader Method
RemoveLockedStyles Method
RemoveNumbers Method
RemoveSmartTags Method
RemoveTheme Method
Repaginate Method
Reply Method
ReplyAll Method
ReplyWithChanges Method
ResetFormFields Method
Route Method
RunAutoMacro Method
RunLetterWizard Method
Save Method
SaveAs Method
SaveAs2000 Method
sblt Method
Select Method
SelectAllEditableRanges Method
SelectNodes Method
SelectSingleNode Method
SendFax Method
SendFaxOverInternet Method
SendForReview Method
SendMail Method
SendMailer Method
SetDefaultTableStyle Method
SetLetterContent Method
SetPasswordEncryptionOptions Method
ToggleFormsDesign Method
TransformDocument Method
Undo Method
UndoClear Method
Unprotect Method
UpdateStyles Method
UpdateSummaryProperties Method
ViewCode Method
ViewPropertyBrowser Method
WebPagePreview Method
Erweitern Minimieren
Dieser Artikel wurde noch nicht bewertet - Dieses Thema bewerten.

_Document.Compare Method

Displays revision marks that indicate where the specified document differs from another document.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim Name As String
Dim AuthorName As Object
Dim CompareTarget As Object
Dim DetectFormatChanges As Object
Dim IgnoreAllComparisonWarnings As Object
Dim AddToRecentFiles As Object
Dim RemovePersonalInformation As Object
Dim RemoveDateAndTime As Object
Dim _Document1 As _Document
_Document1.Compare(Name, AuthorName, CompareTarget, DetectFormatChanges, IgnoreAllComparisonWarnings, AddToRecentFiles, RemovePersonalInformation, RemoveDateAndTime)
'Declaration
Sub Compare( _
	<InAttribute()> ByVal Name As String, _
	<InAttribute()> Optional ByRef AuthorName As Object, _
	<InAttribute()> Optional ByRef CompareTarget As Object, _
	<InAttribute()> Optional ByRef DetectFormatChanges As Object, _
	<InAttribute()> Optional ByRef IgnoreAllComparisonWarnings As Object, _
	<InAttribute()> Optional ByRef AddToRecentFiles As Object, _
	<InAttribute()> Optional ByRef RemovePersonalInformation As Object, _
	<InAttribute()> Optional ByRef RemoveDateAndTime As Object _
)
public void Compare(
	/*in*/System.String Name, 
	/*in*/System.Object AuthorName, 
	/*in*/System.Object CompareTarget, 
	/*in*/System.Object DetectFormatChanges, 
	/*in*/System.Object IgnoreAllComparisonWarnings, 
	/*in*/System.Object AddToRecentFiles, 
	/*in*/System.Object RemovePersonalInformation, 
	/*in*/System.Object RemoveDateAndTime
);
function Compare(
	 Name : String, 
	 AuthorName : Object, 
	 CompareTarget : Object, 
	 DetectFormatChanges : Object, 
	 IgnoreAllComparisonWarnings : Object, 
	 AddToRecentFiles : Object, 
	 RemovePersonalInformation : Object, 
	 RemoveDateAndTime : Object
);

Parameters

Name

Required String. The name of the document with which the specified document is compared.

AuthorName

Optional Object. The reviewer name associated with the differences generated by the comparison. If unspecified, the value defaults to the author name of the revised document or the string "Comparison" if no author information is present.

CompareTarget

Optional Object. The target document for the comparison. Can be any WdCompareTarget constant.

DetectFormatChanges

Optional Boolean. True (default) for the comparison to include detection of format changes.

IgnoreAllComparisonWarnings

Optional Object. True compares the documents without notifying a user of problems. The default value is False.

AddToRecentFiles

Optional Object. True adds the document to the list of recently used files on the File menu.

RemovePersonalInformation

Optional Object. True removes personal information associated with the differences generated by the comparison.

RemoveDateAndTime

Optional Object. True removes data and time information associated with the differences generated by the comparison.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Fanden Sie dies hilfreich?
(1500 verbleibende Zeichen)
Vielen Dank für Ihr Feedback.
Anzeigen:
© 2014 Microsoft. Alle Rechte vorbehalten.