Search Results for

    Show / Hide Table of Contents

    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
    System.Object
    ExportOptionsBase
    CsvExportOptions
    HtmlExportOptions
    JsonExportOptions
    TxtExportOptions
    XmlExportOptions
    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
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.