Class ExportConfiguration
Configuration for batch export operations
Controls how tables and text are exported from a complete extraction result.
Provides options for file organization and table option selection.
------------------------------------------------
Usage:
var config = new ExportConfiguration
{
ExportTables = true,
ExportText = true,
TableOptions = new CsvExportOptions(),
SeparateFilePerTable = true,
FileNamePattern = "table_{page}_{index}"
};
ExportManager.ExportResult(result, "output", config);
------------------------------------------------
Inheritance
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class ExportConfiguration : Object
Remarks
Important Considerations:
File Organization: SeparateFilePerTable controls whether each table is exported to its own file.
Note: FileNamePattern supports placeholders for page number and table index.
Related Documentation:
How-To Guide: Configuring Export
API Reference: Full API Documentation
Constructors
ExportConfiguration()
Declaration
public ExportConfiguration()
Properties
ExportTables
Whether to export tables
Default: true
Declaration
public bool ExportTables { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
ExportText
Whether to export text
Default: true
Declaration
public bool ExportText { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
FileNamePattern
Pattern for output filenames
Supports {page} and {index} placeholders. Default: "table_{page}_{index}"
Declaration
public string FileNamePattern { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SeparateFilePerTable
Whether to create separate file for each table
Default: false
Declaration
public bool SeparateFilePerTable { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
TableOptions
Options for table export
Default: new ExportOptionsBase()
Declaration
public ExportOptionsBase TableOptions { get; set; }
Property Value
| Type | Description |
|---|---|
| ExportOptionsBase |