Class HtmlExportOptions
Configuration options for HTML exports
Controls styling, responsiveness, and CSS class application for HTML table output.
------------------------------------------------
Usage:
var options = new HtmlExportOptions
{
HtmlIncludeStyles = true,
HtmlResponsive = true,
HtmlTableClass = "custom-table"
};
------------------------------------------------
Inherited Members
Namespace: IronPdf.Extractions
Assembly: IronPdf.dll
Syntax
public class HtmlExportOptions : ExportOptionsBase
Remarks
Important Considerations:
Responsive Design: Makes tables mobile-friendly with automatic wrapping.
Note: Custom CSS classes allow integration with existing stylesheets.
Related Documentation:
How-To Guide: HTML Export Guide
Constructors
HtmlExportOptions()
Declaration
public HtmlExportOptions()
Properties
HtmlIncludeStyles
Whether to include CSS styles in HTML export
Default: true
Declaration
public bool HtmlIncludeStyles { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HtmlResponsive
Whether to make HTML tables responsive
Default: true
Declaration
public bool HtmlResponsive { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
HtmlTableClass
CSS class for HTML tables
Default: "exported-table"
Declaration
public string HtmlTableClass { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |