alexa
menu

MAUI

  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class ColumnInfoRecord

    Defines the formatting information for a range of columns including width, outline, and collapsed options.

    Inheritance
    object
    BiffRecordRaw
    ColumnInfoRecord
    Implements
    ICloneable
    IBiffStorage
    IOutline
    IComparable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.XlsIO.Parser.Biff_Records
    Assembly: Syncfusion.XlsIO.NET.dll
    Syntax
    [Biff(TBIFFRecord.ColumnInfo)]
    [CLSCompliant(false)]
    public class ColumnInfoRecord : BiffRecordRaw, ICloneable, IBiffStorage, IOutline, IComparable

    Constructors

    ColumnInfoRecord()

    Default Constructor

    Declaration
    public ColumnInfoRecord()

    ColumnInfoRecord(Stream, out int)

    Read / initialize constructor.

    Declaration
    public ColumnInfoRecord(Stream stream, out int itemSize)
    Parameters
    Type Name Description
    Stream stream

    Stream from which record data should be read.

    int itemSize

    Size of read item.

    Exceptions
    Type Condition
    ArgumentNullException

    If stream is not specified.

    ApplicationException

    If stream does not support read or seek operations.

    ColumnInfoRecord(int)

    Reserves for record's internal data array iReserve bytes.

    Declaration
    public ColumnInfoRecord(int iReserve)
    Parameters
    Type Name Description
    int iReserve

    Amount of bytes for data array.

    Exceptions
    Type Condition
    ArgumentOutOfRangeException

    If amount of bytes requested is less than zero.

    Properties

    ColumnWidth

    Width of the columns in 1/256 of the width of the zero character, using default font (first font record in the file).

    Declaration
    public ushort ColumnWidth { get; set; }
    Property Value
    Type
    ushort

    ExtendedFormatIndex

    Index of extended format record for default column formatting.

    Declaration
    public ushort ExtendedFormatIndex { get; set; }
    Property Value
    Type
    ushort

    FirstColumn

    Index of first column in the range.

    Declaration
    public ushort FirstColumn { get; set; }
    Property Value
    Type
    ushort

    IsCollapsed

    If 1, then columns are collapsed.

    Declaration
    public bool IsCollapsed { get; set; }
    Property Value
    Type
    bool

    IsHidden

    Columns are hidden.

    Declaration
    public bool IsHidden { get; set; }
    Property Value
    Type
    bool

    LastColumn

    Index of the last column in the range.

    Declaration
    public ushort LastColumn { get; set; }
    Property Value
    Type
    ushort

    MaximumRecordSize

    Read-only. Returns maximum possible size of record's internal data array.

    Declaration
    public override int MaximumRecordSize { get; }
    Property Value
    Type
    int
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MaximumRecordSize

    MinimumRecordSize

    Read-only. Returns minimum possible size of record's internal data array.

    Declaration
    public override int MinimumRecordSize { get; }
    Property Value
    Type
    int
    Overrides
    Syncfusion.XlsIO.Parser.Biff_Records.BiffRecordRaw.MinimumRecordSize

    OutlineLevel

    Outline level of the columns (0 = no outline). This property changes bits of private m_usOptions field. Set method would raise ArgumentOutOfRange exception if value is more than 7.

    Declaration
    public ushort OutlineLevel { get; set; }
    Property Value
    Type
    ushort

    Reserved

    Read-only. Reserved value.

    Declaration
    public ushort Reserved { get; }
    Property Value
    Type
    ushort

    Methods

    CompareTo(object)

    Compares this record with another ColumnInfoRecord.

    Declaration
    public int CompareTo(object obj)
    Parameters
    Type Name Description
    object obj

    Object to compare with.

    Returns
    Type Description
    int

    0 if specified record is equal to the current record; otherwise -1.

    GetStoreSize(ExcelVersion)

    Size of the required storage space. Read-only.

    Declaration
    public override int GetStoreSize(ExcelVersion version)
    Parameters
    Type Name Description
    ExcelVersion version
    Returns
    Type
    int
    Overrides
    BiffRecordRaw.GetStoreSize(ExcelVersion)

    ParseStructure(DataProvider, int, int, ExcelVersion)

    Parse structure of record. Converts data buffer to special values according to record specification.

    Declaration
    public override void ParseStructure(DataProvider provider, int iOffset, int iLength, ExcelVersion version)
    Parameters
    Type Name Description
    DataProvider provider

    Object that provides access to the data.

    int iOffset

    Offset to the record's data.

    int iLength

    Length of the record's data.

    ExcelVersion version

    Excel version used for infill.

    Overrides
    BiffRecordRaw.ParseStructure(DataProvider, int, int, ExcelVersion)

    SetDefaultOptions()

    Sets options into default state without setting extended format index.

    Declaration
    public void SetDefaultOptions()

    Implements

    ICloneable
    IBiffStorage
    IOutline
    IComparable
    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved