[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PdfSaveOptions

Class PdfSaveOptions

Namespace
GrapeCity.Documents.Excel
Assembly
GcDocs.Excel.dll

Option class for saving PDF file.

public class PdfSaveOptions : SaveOptionsBase
Inheritance
object
PdfSaveOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

PdfSaveOptions()

Constructor.

public PdfSaveOptions()

Properties

BorderOptions

This dictionary stores border options when exporting PDF.

public Dictionary<BorderLineStyle, CustomBorderStyle> BorderOptions { get; }

Property Value

System.Collections.Generic.Dictionary<TKey, TValue><BorderLineStyle, CustomBorderStyle>

DocumentProperties

Represents the document properties of the PDF.

public DocumentProperties DocumentProperties { get; set; }

Property Value

DocumentProperties

FormFields

Indicates that whether to replace Excel form controls with PDF form fields. Not all controls and properties are supported.

public bool FormFields { get; set; }

Property Value

bool

True if Excel form controls will be exported as PDF form fields. Otherwise, false. The default value is false.

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.

public int ImageQuality { get; set; }

Property Value

int

OpenActionScript

Get or set the JavaScript to be execute when the saved PDF file is opened.

public string OpenActionScript { get; set; }

Property Value

string

PrintBackgroundPicture

True if the sheet's background image is printed on the page.

public bool PrintBackgroundPicture { get; set; }

Property Value

bool

PrintTransparentCell

True if the transparency of the cell's background color is printed on the page.

public bool PrintTransparentCell { get; set; }

Property Value

bool

SecurityOptions

Represents the security settings of PDF.

public PdfSecurityOptions SecurityOptions { get; set; }

Property Value

PdfSecurityOptions

ShrinkToFitSettings

The settings about performing shrink to fit on the wrapped text.

public IShrinkToFitSettings ShrinkToFitSettings { get; }

Property Value

IShrinkToFitSettings

ViewerPreferences

The settings that contains information specifying how the current document should be displayed.

public ViewerPreferences ViewerPreferences { get; }

Property Value

ViewerPreferences

Events

PagePrinted

Occurs when a page was printed.

public event EventHandler<PagePrintedEventArgs> PagePrinted

Event Type

System.EventHandler<TEventArgs><PagePrintedEventArgs>

PagePrinting

Occurs before printing a page.

public event EventHandler<PagePrintingEventArgs> PagePrinting

Event Type

System.EventHandler<TEventArgs><PagePrintingEventArgs>