New to Telerik Document ProcessingStart a free 30-day trial

Configures export scope and behavior, including which sheets to export, whether to honor print areas, and hidden sheet handling.

Definition

Namespace:Telerik.Windows.Documents.Spreadsheet.FormatProviders

Assembly:Telerik.Windows.Documents.Spreadsheet.dll

Syntax:

C#
public class ExportWhatSettings

Inheritance: objectExportWhatSettings

Derived Classes: PdfExportSettings

Constructors

Initializes a new instance of the ExportWhatSettings class with the specified scope and print area behavior.

C#
public ExportWhatSettings(ExportWhat exportWhat, bool ignorePrintArea)
Parameters:exportWhatExportWhat

The ExportWhat option.

ignorePrintAreabool

Value indicating whether to ignore print area.

Methods

Determines whether the specified object has the same export scope and print area settings as this instance.

C#
public override bool Equals(object obj)
Parameters:objobject

The object to compare with the current object.

Returns:

bool

Returns true if the specified object is equal to the current object; otherwise, false.

Overrides: object.Equals(object)

Computes a hash code based on the export scope and print area settings.

C#
public override int GetHashCode()
Returns:

int

A hash code for the current object.

Overrides: object.GetHashCode()

Properties

Gets the export scope specifying whether to export the active sheet, entire workbook, or selection.

C#
public ExportWhat ExportWhat { get; }
Property Value:

The ExportWhat option value.

Gets whether to export the entire sheet content instead of limiting to the defined print area.

C#
public bool IgnorePrintArea { get; }
Property Value:

Value indicating whether the print area should be ignored.

Gets or sets whether hidden worksheets should be included in the exported document.

C#
public bool IncludeHiddenSheets { get; set; }
Property Value:

true if the hidden sheets should be included; otherwise, false.