Class ExportOptionsBase
Base configuration options for exporting extracted data
Contains common options applicable to all export formats.
------------------------------------------------
Usage:
// Use base options for generic export
var options = new ExportOptionsBase
{
IncludeHeaders = true,
SpanMode = SpanHandlingMode.Repeat
};
// Or use format-specific options
var csvOptions = new CsvExportOptions
{
CsvDelimiter = ";",
IncludeHeaders = true
};
------------------------------------------------
Inheritance
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class ExportOptionsBase : Object
Remarks
Important Considerations:
Base Class: This class contains options common to all export formats.
Note: For format-specific options, use CsvExportOptions, HtmlExportOptions, etc.
Related Documentation:
How-To Guide: Configuring Export Options
API Reference: Full API Documentation
Constructors
ExportOptionsBase()
Declaration
public ExportOptionsBase()
Properties
IncludeEmptyRows
Whether to include empty rows in export
Default: false
Declaration
public bool IncludeEmptyRows { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
IncludeHeaders
Whether to include headers in export
Default: true
Declaration
public bool IncludeHeaders { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
SpanMode
How to handle cells with rowspan/colspan in exports
Default: Repeat
Note: Some exporters (such as TXT) ignore this setting and always use Merge-like behavior because plain text does not support cell spanning.
Declaration
public SpanHandlingMode SpanMode { get; set; }
Property Value
| Type | Description |
|---|---|
| SpanHandlingMode |
TextEncoding
Text encoding for output files
Default: UTF8
Declaration
public Encoding TextEncoding { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Text.Encoding |