XpsDocument.Merge

Merge(string[], Device, SaveOptions)

Merging XPS documents to PDF using the Device instance.

[Obsolete("Save is deprecated beginning from 24.3, please use MergeToPdf instead. In 24.6 this method will be hidden")]
public void Merge(string[] filesForMerge, Device device, SaveOptions options)
ParameterTypeDescription
filesForMergeString[]XPS files for merging with this document to an output device.
deviceDeviceThe Device instance.
optionsSaveOptionsDocument saving options.

See Also


Merge(string[], string)

Merging several XPS files to one XPS document.

public void Merge(string[] filesForMerge, string outXpsFilePath)
ParameterTypeDescription
filesForMergeString[]XPS files for merging with this document.
outXpsFilePathStringAn output Xps file path.

See Also


Merge(string[], Stream)

Merging several XPS files to one XPS document.

public void Merge(string[] filesForMerge, Stream outStream)
ParameterTypeDescription
filesForMergeString[]XPS files for merging with this document.
outStreamStreamThe output stream where to save merged XPS documents.

See Also