Search Results for

    Show / Hide Table of Contents

    XlsFile.XlsFile Constructor

    Overloads

    • XlsFile.XlsFile
    • XlsFile.XlsFile(Boolean)
    • XlsFile.XlsFile(String)
    • XlsFile.XlsFile(String, Boolean)
    • XlsFile.XlsFile(Int32, Boolean)
    • XlsFile.XlsFile(Stream, Boolean)
    • XlsFile.XlsFile(Int32, TExcelFileFormat, Boolean)

    XlsFile.XlsFile

    Creates a new XlsFile. After creating an XlsFile with this constructor, you need to either open or create a new file.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile()

    See also

    • XlsFile

    XlsFile.XlsFile(Boolean)

    Creates a new XlsFile and sets the desired Overwriting mode for files. After creating an XlsFile with this constructor, you need to either open or create a new file.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(Boolean aAllowOverwritingFiles)

    Parameters

    <-> Parameter Type Description
    aAllowOverwritingFiles Boolean When true calling "Save" will overwrite existing files. See ExcelFile.AllowOverwritingFiles

    See also

    • XlsFile

    XlsFile.XlsFile(String)

    Creates a new XlsFile and opens the desired file.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(String aFileName)

    Parameters

    <-> Parameter Type Description
    aFileName String Name of the file to open.

    See also

    • XlsFile

    XlsFile.XlsFile(String, Boolean)

    Creates a new XlsFile and opens the desired file. Sets the desired Overwriting mode for files.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(String aFileName, Boolean aAllowOverwritingFiles)

    Parameters

    <-> Parameter Type Description
    aFileName String Name of the file to open.
    aAllowOverwritingFiles Boolean When true calling "Save" will overwrite existing files. See ExcelFile.AllowOverwritingFiles

    See also

    • XlsFile

    XlsFile.XlsFile(Int32, Boolean)

    Creates a new XlsFile and creates a new empty file with the desired number of sheets.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(Int32 aSheetCount, Boolean aAllowOverwritingFiles)

    Parameters

    <-> Parameter Type Description
    aSheetCount Int32 Number of sheets for the new empty file.
    aAllowOverwritingFiles Boolean When true calling "Save" will overwrite existing files. See ExcelFile.AllowOverwritingFiles

    See also

    • XlsFile

    XlsFile.XlsFile(Stream, Boolean)

    Creates a new XlsFile and opens the desired file from a stream. Sets the desired Overwriting mode for files.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(Stream aStream, Boolean aAllowOverwritingFiles)

    Parameters

    <-> Parameter Type Description
    aStream Stream Stream with the file to open.
    aAllowOverwritingFiles Boolean When true calling "Save" will overwrite existing files. See ExcelFile.AllowOverwritingFiles

    See also

    • XlsFile

    XlsFile.XlsFile(Int32, TExcelFileFormat, Boolean)

    Creates a new XlsFile and creates a new empty file with the desired number of sheets and file format.

    Syntax

    Namespace: FlexCel.XlsAdapter

    public XlsFile(Int32 aSheetCount, TExcelFileFormat aFileFormat, Boolean aAllowOverwritingFiles)

    Parameters

    <-> Parameter Type Description
    aSheetCount Int32 Number of sheets for the new empty file.
    aFileFormat TExcelFileFormat Version of Excel used to create the new file. Different version can have different default fonts, column widths, etc.
    aAllowOverwritingFiles Boolean When true calling "Save" will overwrite existing files. See ExcelFile.AllowOverwritingFiles

    See also

    • XlsFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com