Class
ExportWhatSettings

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:

cs-api-definition
public class ExportWhatSettings

Inheritance: objectExportWhatSettings

Derived Classes: PrintWhatSettingsPdfExportSettings

Constructors

ExportWhatSettings(ExportWhat, bool)

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

Declaration

cs-api-definition
public ExportWhatSettings(ExportWhat exportWhat, bool ignorePrintArea)

Parameters

exportWhat

ExportWhat

The ExportWhat option.

ignorePrintArea

bool

Value indicating whether to ignore print area.

Properties

ExportWhat

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

Declaration

cs-api-definition
public ExportWhat ExportWhat { get; }

Property Value

ExportWhat

The ExportWhat option value.

IgnorePrintArea

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

Declaration

cs-api-definition
public bool IgnorePrintArea { get; }

Property Value

bool

Value indicating whether the print area should be ignored.

IncludeHiddenSheets

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

Declaration

cs-api-definition
public bool IncludeHiddenSheets { get; set; }

Property Value

bool

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

Methods

Equals(object)

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

Declaration

cs-api-definition
public override bool Equals(object obj)

Parameters

obj

object

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)

GetHashCode()

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

Declaration

cs-api-definition
public override int GetHashCode()

Returns

int

A hash code for the current object.

Overrides object.GetHashCode()