Class TxtExportOptions
Configuration options for plain text exports
Currently inherits all options from ExportOptionsBase.
The TXT exporter does not support different span-handling strategies. Regardless of the value provided in SpanMode, the TXT export always behaves as though SpanHandlingMode.Merge is used.
Other values (Repeat, Empty, Annotate) have no effect on TXT output.
Inherited Members
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class TxtExportOptions : ExportOptionsBase
TxtExportOptions is the object IronPDF C# code works with for text extraction. It represents configuration options for plain text exports Currently inherits all options from ExportOptionsBase.
TxtExportOptions 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 TxtExportOptions, instantiate or obtain it from the relevant entry point in the IronPDF C# API. 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 TxtExportOptions();For 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 TxtExportOptions directly. TxtExportOptions instances inherit additional members from ExportOptionsBase that may be relevant in advanced scenarios. In application code, treat TxtExportOptions 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 TxtExportOptions property after each operation to confirm the configured state. See the constructors, properties, and methods tables below for the complete API surface of TxtExportOptions. Application code typically obtains or instantiates a single TxtExportOptions and shares it across multiple IronPDF operations rather than recreating it per call.
Constructors
TxtExportOptions()
Declaration
public TxtExportOptions()