Search Results for

    Show / Hide Table of Contents

    Class MatrixCells

    Represents a collection of matrix data descriptors used in the MatrixObject.

    Inheritance
    System.Object
    System.Collections.CollectionBase
    MatrixCells
    Implements
    IFRSerializable
    Namespace: FastReport.Matrix
    Assembly: FastReport.Base.dll
    Syntax
    public class MatrixCells : CollectionBase, IList, ICollection, IEnumerable, IFRSerializable

    Properties

    Item[Int32]

    Gets or sets the element at the specified index.

    Declaration
    public MatrixCellDescriptor this[int index] { get; set; }
    Parameters
    Type Name Description
    System.Int32 index

    Index of an element.

    Property Value
    Type Description
    MatrixCellDescriptor

    The element at the specified index.

    Methods

    Add(MatrixCellDescriptor)

    Adds a descriptor to the end of this collection.

    Declaration
    public int Add(MatrixCellDescriptor value)
    Parameters
    Type Name Description
    MatrixCellDescriptor value

    Descriptor to add.

    Returns
    Type Description
    System.Int32

    Index of the added descriptor.

    AddRange(MatrixCellDescriptor[])

    Adds the specified descriptors to the end of this collection.

    Declaration
    public void AddRange(MatrixCellDescriptor[] range)
    Parameters
    Type Name Description
    MatrixCellDescriptor[] range

    Array of descriptors to add.

    Contains(MatrixCellDescriptor)

    Determines whether a descriptor is in the collection.

    Declaration
    public bool Contains(MatrixCellDescriptor value)
    Parameters
    Type Name Description
    MatrixCellDescriptor value

    The descriptor to locate in the collection.

    Returns
    Type Description
    System.Boolean

    true if descriptor is found in the collection; otherwise, false.

    Deserialize(FRReader)

    Deserializes the object.

    Declaration
    public void Deserialize(FRReader reader)
    Parameters
    Type Name Description
    FRReader reader

    Reader object.

    IndexOf(MatrixCellDescriptor)

    Returns the zero-based index of the first occurrence of a descriptor.

    Declaration
    public int IndexOf(MatrixCellDescriptor value)
    Parameters
    Type Name Description
    MatrixCellDescriptor value

    The descriptor to locate in the collection.

    Returns
    Type Description
    System.Int32

    The zero-based index of the first occurrence of descriptor within the entire collection, if found; otherwise, -1.

    Insert(Int32, MatrixCellDescriptor)

    Inserts a descriptor into this collection at the specified index.

    Declaration
    public void Insert(int index, MatrixCellDescriptor value)
    Parameters
    Type Name Description
    System.Int32 index

    The zero-based index at which value should be inserted.

    MatrixCellDescriptor value

    The descriptor to insert.

    Remove(MatrixCellDescriptor)

    Removes the specified descriptor from the collection.

    Declaration
    public void Remove(MatrixCellDescriptor value)
    Parameters
    Type Name Description
    MatrixCellDescriptor value

    Descriptor to remove.

    Serialize(FRWriter)

    Serializes the object.

    Declaration
    public void Serialize(FRWriter writer)
    Parameters
    Type Name Description
    FRWriter writer

    Writer object.

    ToArray()

    Copies the elements of this collection to a new array.

    Declaration
    public MatrixCellDescriptor[] ToArray()
    Returns
    Type Description
    MatrixCellDescriptor[]

    An array containing copies of this collection elements.

    Implements

    IFRSerializable
    Back to top © 1998-2025 Copyright Fast Reports Inc.