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
Working with text extraction in IronPDF runs through ExportConfiguration. It represents configuration for batch export operations Controls how tables and text are exported from a complete extraction result.
ExportConfiguration matters when an application needs to configure or invoke text extraction from C# code. The class encapsulates the related options and behavior in a single object that is set up once and reused across render or processing calls. Typical scenarios include batch generation pipelines, templated document workflows, and integration with existing C# document services.
To use ExportConfiguration, instantiate or obtain it from the relevant entry point in the IronPDF C# API. Key properties include ExportTables, ExportText, FileNamePattern, SeparateFilePerTable. Assign options or invoke methods on the instance to configure or perform the operation. The draw text and bitmap covers typical usage in C# end to end.
using IronPdf;
var instance = new ExportConfiguration();
var current = instance.ExportTables;
// Read or assign other properties such as ExportText, FileNamePatternFor the broader workflow, see the export save PDF csharp guide in the IronPDF C# documentation. For broader context, the text extraction portion of the IronPDF C# API contains related types that work with ExportConfiguration directly. ExportConfiguration exposes additional members beyond those highlighted above; the reference tables on this page list the full set. In application code, treat ExportConfiguration as a configured object that is constructed once and reused across operations rather than instantiated per call. Configuration is generally idempotent: assigning the same property value twice has the same effect as assigning it once. For diagnostic purposes, inspect the relevant ExportConfiguration property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of ExportConfiguration.
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 |