Skip to main content
A newer version of this page is available. .

XlExportOptionsBase Members

Represents the base class for objects which define export options specific to XLS and XLSX formats.

Constructors

Name Description
XlExportOptionsBase() Initializes a new instance of the XlExportOptionsBase class with the default settings.
XlExportOptionsBase(TextExportMode, Boolean, Boolean, Boolean, DefaultBoolean) Initializes a new instance of the XlExportOptionsBase class with the specified settings.
XlExportOptionsBase(TextExportMode, Boolean, Boolean, Boolean) Initializes a new instance of the XlExportOptionsBase class with the specified settings.
XlExportOptionsBase(TextExportMode, Boolean, Boolean) Initializes a new instance of the XlExportOptionsBase class with the specified text export mode, grid lines and hyperlinks settings.
XlExportOptionsBase(TextExportMode, Boolean) Initializes a new instance of the XlExportOptionsBase class with the specified text export mode and grid lines settings.
XlExportOptionsBase(TextExportMode) Initializes a new instance of the XlExportOptionsBase class with the specified text export mode.

Properties

Name Description
DocumentOptions Provides access to options to be embedded as the resulting XLS or XLSX file’s Document Properties.
EncryptionOptions Provides access to the XLS and XLSX file encryption options.
ExportHyperlinks Specifies whether or not hyperlinks should be exported to Excel.
FitToPrintedPageHeight Gets or sets whether the output document should be fit to the page height when printed.
FitToPrintedPageWidth Gets or sets whether the output document should be fit to the page width when printed.
IgnoreErrors Specifies the document errors to be ignored in a resulting Excel file.
PageRange Gets or sets the page range to be exported. Inherited from PageByPageExportOptionsBase.
RasterizationResolution Specifies the resolution (in DPI) used to rasterize vector images on export to the corresponding document format. Inherited from PageByPageExportOptionsBase.
RasterizeImages Specifies whether or not vector images should be rasterized on export to the corresponding document format. Inherited from PageByPageExportOptionsBase.
RawDataMode Enables the mode that produces simple tabular data without graphic elements, style and appearance settings.
RightToLeftDocument Gets or sets whether the layout of the resulting XLS document should be aligned to support locales using right-to-left fonts.
SheetName Gets or sets a name of the sheet in the created XLS file to which a document is exported.
ShowGridLines Gets or sets a value indicating whether the grid lines should be visible in the resulting XLS file.
TextExportMode Gets or sets a value indicating whether the cells in the resulting XLS document should use the same formatting as the original document.

Methods

Name Description
Assign(ExportOptionsBase) Copies all the settings from the XlsExportOptions object passed as a parameter.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ToString() Returns a string that represents the current object. Inherited from Object.
See Also