Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
Word.DocumentMergeOptions interface
- Package:
- word
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
Provides configuration options for the Document.merge method.
Properties
| addToRecentFiles | If provided, specifies whether to add the merged document to recent files. The default value is |
| detectFormatChanges | If provided, specifies whether to detect format changes during the merge. The default value is |
| mergeTarget | If provided, specifies the target of the merge operation. The default value is |
| useFormattingFrom | If provided, specifies the source of formatting to use in the merge. The default value is |
Property Details
addToRecentFiles
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies whether to add the merged document to recent files. The default value is true.
addToRecentFiles?: boolean;
Property Value
boolean
Remarks
detectFormatChanges
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies whether to detect format changes during the merge. The default value is true.
detectFormatChanges?: boolean;
Property Value
boolean
Remarks
mergeTarget
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies the target of the merge operation. The default value is current.
mergeTarget?: Word.MergeTarget | "Selected" | "Current" | "New";
Property Value
Word.MergeTarget | "Selected" | "Current" | "New"
Remarks
useFormattingFrom
Note
This API is provided as a preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
If provided, specifies the source of formatting to use in the merge. The default value is current.
useFormattingFrom?: Word.UseFormattingFrom | "Current" | "Selected" | "Prompt";
Property Value
Word.UseFormattingFrom | "Current" | "Selected" | "Prompt"
Remarks
Office Add-ins
Feedback
Was this page helpful?
