GemBox.Spreadsheet
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    XlsLoadOptions Class

    Namespace:
    GemBox.Spreadsheet
    Assembly:
    GemBox.Spreadsheet.dll

    Represents options for loading from XLS file format (Microsoft Excel Spreadsheet format; Excel 2003 and prior versions) .

    • C#
    • VB.NET
    public sealed class XlsLoadOptions : LoadOptions
    Public NotInheritable Class XlsLoadOptions
        Inherits LoadOptions
    Inheritance:
    System.Object
    LoadOptions
    XlsLoadOptions

    Constructors

    XlsLoadOptions()

    Initializes a new instance of the XlsLoadOptions class.

    • C#
    • VB.NET
    public XlsLoadOptions()
    Public Sub New

    Properties

    Password

    Gets or sets the password to open protected / encrypted workbook.

    • C#
    • VB.NET
    public string Password { get; set; }
    Public Property Password As String
    Property Value
    System.String

    PreserveUnsupportedFeatures

    Gets or sets a value indicating whether to preserve features that are not supported when reading XLS files.

    • C#
    • VB.NET
    public bool PreserveUnsupportedFeatures { get; set; }
    Public Property PreserveUnsupportedFeatures As Boolean
    Property Value
    System.Boolean

    true to preserve features that are not supported when reading XLS files; otherwise, false.

    Remarks

    Default value is set to true.

    Preserving features in files encrypted with a password is currently not supported.

    Inherited Properties

    CsvDefault

    Gets the default options for loading from Character Separated Values file format.

    (Inherited from LoadOptions)

    HtmlDefault

    Gets the default options for loading from HyperText Markup Language File (HTML) format.

    (Inherited from LoadOptions)

    OdsDefault

    Gets the default options for loading from OpenDocument Spreadsheet file format.

    (Inherited from LoadOptions)

    TxtDefault

    Gets the default options for loading from Tab delimited file format.

    (Inherited from LoadOptions)

    XlsDefault

    Gets the default options for loading from XLS file format (Microsoft Excel Spreadsheet format; Excel 2003 and prior versions) .

    (Inherited from LoadOptions)

    XlsbDefault

    Gets the default options for loading from XLSX file format (Microsoft Excel Binary File Format).

    (Inherited from LoadOptions)

    XlsxDefault

    Gets the default options for loading from XLSX file format (Microsoft Excel Open XML Spreadsheet; Excel 2007 and later).

    (Inherited from LoadOptions)

    XmlDefault

    Gets the default options for loading from XML file format (XML Spreadsheet 2003).

    (Inherited from LoadOptions)

    Examples

    Convert Excel files to PDF in C# and VB.NET
    Open and read Excel file in C# and VB.NET
    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.