[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintManager.SavePDF

SavePDF Method

SavePDF(Stream, IEnumerable<Workbook>, PdfSaveOptions)

Saves the datas from different workbooks to the specified pdf file stream.

Declaration
public void SavePDF(Stream stream, IEnumerable<Workbook> workbooks, PdfSaveOptions options = null)
Parameters
Type Name Description
Stream stream

The specified pdf file.

IEnumerable<Workbook> workbooks

The workbook collection.

PdfSaveOptions options

Options for saving pdf file.

SavePDF(Stream, params Workbook[])

Saves the datas from different workbooks to the specified pdf file stream.

Declaration
public void SavePDF(Stream stream, params Workbook[] workbooks)
Parameters
Type Name Description
Stream stream

The specified pdf file.

Workbook[] workbooks

The workbook collection.

SavePDF(string, IEnumerable<Workbook>, PdfSaveOptions)

Saves the datas from different workbooks to the specified pdf file.

Declaration
public void SavePDF(string fileName, IEnumerable<Workbook> workbooks, PdfSaveOptions options = null)
Parameters
Type Name Description
string fileName

The specified pdf file.

IEnumerable<Workbook> workbooks

The workbook collection.

PdfSaveOptions options

Options for saving pdf file.

SavePDF(string, params Workbook[])

Saves the datas from different workbooks to the specified pdf file.

Declaration
public void SavePDF(string fileName, params Workbook[] workbooks)
Parameters
Type Name Description
string fileName

The specified pdf file.

Workbook[] workbooks

The workbook collection.

SavePDF(string, IList<PageInfo>, PdfSaveOptions)

Saves the page datas to the specified pdf file.

Declaration
public void SavePDF(string fileName, IList<PageInfo> pages, PdfSaveOptions options = null)
Parameters
Type Name Description
string fileName

The specified pdf file.

IList<PageInfo> pages

The page information collection.

PdfSaveOptions options

Options for saving pdf file.

SavePDF(Stream, IList<PageInfo>, PdfSaveOptions)

Saves the page datas to the specified pdf file stream.

Declaration
public void SavePDF(Stream stream, IList<PageInfo> pages, PdfSaveOptions options = null)
Parameters
Type Name Description
Stream stream

The specified pdf file.

IList<PageInfo> pages

The page information collection.

PdfSaveOptions options

Options for saving pdf file.