[]
        
(Showing Draft Content)

GrapeCity.Documents.Word.Layout.GcWordLayout.SaveAsPdf

SaveAsPdf Method

SaveAsPdf(string, OutputRange, PdfOutputSettings)

Saves the document into a file in PDF format.

Declaration
public void SaveAsPdf(string filePath, OutputRange pageRange = null, PdfOutputSettings pdfSettings = null)
Parameters
Type Name Description
string filePath

Full path to the output file.

OutputRange pageRange

The range of pages that should be saved.

PdfOutputSettings pdfSettings

The set of parameters for the output PDF.

SaveAsPdf(Stream, OutputRange, PdfOutputSettings)

Saves the document into a stream in PDF format.

Declaration
public void SaveAsPdf(Stream stream, OutputRange pageRange = null, PdfOutputSettings pdfSettings = null)
Parameters
Type Name Description
Stream stream

The output stream.

OutputRange pageRange

The range of pages that should be saved.

PdfOutputSettings pdfSettings

The set of parameters for the output PDF.