[]
Option class for saving PDF file.
public class PdfSaveOptions : SaveOptionsBase
Public Class PdfSaveOptions
Inherits SaveOptionsBase
| Name | Description |
|---|---|
| PdfSaveOptions() | Constructor. |
| Name | Description |
|---|---|
| BorderOptions | This dictionary stores border options when exporting PDF. |
| DocumentProperties | Represents the document properties of the PDF. |
| FormFields | Indicates that whether to replace Excel form controls with PDF form fields. Not all controls and properties are supported. |
| ImageQuality | Gets or sets the image quality, in percent. This value must be between 0 (lowest quality, maximum compression) to 100 (highest quality, no compression). The default is 75. Images are encoded in JPEG format when exported to PDF. If the source image is already in JPEG format, it is stored as-is without re-encoding, and this property has no effect. For images in other formats (such as PNG or BMP), they are converted to JPEG during export, and this property controls the compression level of the conversion. |
| IncludeAutoMergedCells | Indicates whether to include the automatically merged cells. The default value is false. |
| OpenActionScript | Get or set the JavaScript to be execute when the saved PDF file is opened. |
| PrintBackgroundPicture | True if the sheet's background image is printed on the page. |
| PrintTransparentCell | True if the transparency of the cell's background color is printed on the page. |
| SecurityOptions | Represents the security settings of PDF. |
| ShrinkToFitSettings | The settings about performing shrink to fit on the wrapped text. |
| ViewerPreferences | The settings that contains information specifying how the current document should be displayed. |
| Name | Description |
|---|---|
| PagePrinted | Occurs when a page was printed. |
| PagePrinting | Occurs before printing a page. |