• DR-IT Software
  • Products
  • Documentation
  • Product page
  • Examples
  • API reference
  • Support
Show / Hide Table of Contents

Class HtmlLoadOptions

Load options for HTML files.

Inheritance
object
HtmlLoadOptions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
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
Back to top

DR-IT Software documentation

DR-IT Software · Products · Documentation index · Product page · Downloads · Support · Licensing

Generated by DocFX