[]
        
(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)
Public Sub SavePDF(stream As Stream, workbooks As IEnumerable(Of Workbook), Optional options As PdfSaveOptions = Nothing)
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)
Public Sub SavePDF(stream As Stream, ParamArray workbooks As Workbook())
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)
Public Sub SavePDF(fileName As String, workbooks As IEnumerable(Of Workbook), Optional options As PdfSaveOptions = Nothing)
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)
Public Sub SavePDF(fileName As String, ParamArray workbooks As Workbook())
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)
Public Sub SavePDF(fileName As String, pages As IList(Of PageInfo), Optional options As PdfSaveOptions = Nothing)
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)
Public Sub SavePDF(stream As Stream, pages As IList(Of PageInfo), Optional options As PdfSaveOptions = Nothing)
Parameters
Type Name Description
Stream stream

The specified pdf file.

IList<PageInfo> pages

The page information collection.

PdfSaveOptions options

Options for saving pdf file.