[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.PrintOutOptions

Class PrintOutOptions

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

Contains options for printing.

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

Constructors

PrintOutOptions()

Constructor.

public PrintOutOptions()

Properties

ActivePrinter

Sets the name of the active printer, for example: "Microsoft Print to PDF".

public string ActivePrinter { get; set; }

Property Value

string

Collate

True to collate multiple copies. The default value is True.

public bool Collate { get; set; }

Property Value

bool

Copies

The number of copies to print. If this argument is omitted, one copy is printed.

public int Copies { get; set; }

Property Value

int

Duplex

Gets or sets the printer setting for double-sided printing.

public object Duplex { get; set; }

Property Value

object

From

The 1-based number of the page at which to start printing. If the value is empty, printing starts at the beginning.

public int? From { get; set; }

Property Value

int?

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

ShrinkToFitSettings

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

public IShrinkToFitSettings ShrinkToFitSettings { get; }

Property Value

IShrinkToFitSettings

To

The 1-based number of the last page to print. If the value is empty, printing ends with the last page.

public int? To { get; set; }

Property Value

int?

Events

PagePrinted

Occurs after printing a page.

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>