Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Current »

Introduced in build 10.0

Description

Saves a Workbook as a PDF document to the specified stream.
C#
vb.net

Parameters

onlySelectedWorksheets
If true, only selected worksheets will be saved to the PDF. If false, all visible worksheets in the workbook will be saved to the PDF.
stream
The output stream to write to. This stream must be open and writable. ExcelWriter will not close this stream; the calling program is responsible for closing the stream and releasing the resource.

 

Exceptions

System.Exception
If there is a problem creating, opening, or writing to the stream specified, or reading from the Workbook object.

Examples

C#
vb.net
  • No labels