XpsDocument.SaveAsPdf

SaveAsPdf(string, PdfSaveOptions)

Saves the document in PDF format.

public void SaveAsPdf(string outPdfFilePath, PdfSaveOptions options)
ParameterTypeDescription
outPdfFilePathStringAn output PDF file path.
optionsPdfSaveOptionsOptions for saving the document in PDF format.

See Also


SaveAsPdf(Stream, PdfSaveOptions)

Saves the document in PDF format.

public void SaveAsPdf(Stream stream, PdfSaveOptions options)
ParameterTypeDescription
streamStreamThe stream to write the output PDF file to.
optionsPdfSaveOptionsOptions for saving the document in PDF format.

See Also