Class HtmlLoadOptions
Load options for HTML files.
Inherited Members
Namespace: DRIT.Spreadsheet
Assembly: DRIT.Spreadsheet.dll
Syntax
public sealed class HtmlLoadOptions
Constructors
HtmlLoadOptions()
Load options for HTML files.
Declaration
public HtmlLoadOptions()
Properties
AutoFitColsAndRows
Gets or sets whether to auto-fit columns and rows after loading. Default is false.
Declaration
public bool AutoFitColsAndRows { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
CancellationToken
Token that can cancel the load operation before it starts. Throws OperationCanceledException if already cancelled.
Declaration
public CancellationToken CancellationToken { get; set; }
Property Value
| Type | Description |
|---|---|
| CancellationToken |
Encoding
Specifies the text encoding for reading the HTML file. Default is UTF-8 without BOM.
Declaration
public Encoding Encoding { get; set; }
Property Value
| Type | Description |
|---|---|
| Encoding |
RecognizeSelfClosingTags
Gets or sets whether to recognize self-closing HTML tags. Default is true.
Declaration
public bool RecognizeSelfClosingTags { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |