[]
Option class for saving PDF file.
public class PdfSaveOptions : SaveOptionsBase
Constructor.
public PdfSaveOptions()
This dictionary stores border options when exporting PDF.
public Dictionary<BorderLineStyle, CustomBorderStyle> BorderOptions { get; }
Represents the document properties of the PDF.
public DocumentProperties DocumentProperties { get; set; }
Indicates that whether to replace Excel form controls with PDF form fields. Not all controls and properties are supported.
public bool FormFields { get; set; }
True
if Excel form controls will be exported as PDF form fields.
Otherwise, false. The default value is false.
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.
public int ImageQuality { get; set; }
Indicates whether to include the automatically merged cells. The default value is false.
public bool IncludeAutoMergedCells { get; set; }
Get or set the JavaScript to be execute when the saved PDF file is opened.
public string OpenActionScript { get; set; }
True if the sheet's background image is printed on the page.
public bool PrintBackgroundPicture { get; set; }
True if the transparency of the cell's background color is printed on the page.
public bool PrintTransparentCell { get; set; }
Represents the security settings of PDF.
public PdfSecurityOptions SecurityOptions { get; set; }
The settings about performing shrink to fit on the wrapped text.
public IShrinkToFitSettings ShrinkToFitSettings { get; }
The settings that contains information specifying how the current document should be displayed.
public ViewerPreferences ViewerPreferences { get; }
Occurs when a page was printed.
public event EventHandler<PagePrintedEventArgs> PagePrinted
Occurs before printing a page.
public event EventHandler<PagePrintingEventArgs> PagePrinting