Search Results for

    Show / Hide Table of Contents

    Class Measures

    Inheritance
    System.Object
    System.Collections.CollectionBase
    ScriptItems
    Measures
    Inherited Members
    ScriptItems.IndexOf(String)
    ScriptItems.Col
    ScriptItems.Row
    Namespace: FastReport.Olap.Code
    Assembly: FastReport.Olap.dll
    Syntax
    public class Measures : ScriptItems, IList, ICollection, IEnumerable

    Constructors

    Measures(Slice)

    Declaration
    public Measures(Slice slice)
    Parameters
    Type Name Description
    Slice slice

    Properties

    CurrentMeasureIndex

    Index of measure for current cell

    Declaration
    public int CurrentMeasureIndex { get; }
    Property Value
    Type Description
    System.Int32

    CurrentMeasureName

    Name of measure for current cell

    Declaration
    public string CurrentMeasureName { get; }
    Property Value
    Type Description
    System.String

    Item[Int32]

    Get Measure by index

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

    collection position

    Property Value
    Type Description
    Measure

    Measure or null if index is out of bounds

    RecordCount

    Details records count

    Declaration
    public int RecordCount { get; }
    Property Value
    Type Description
    System.Int32

    XLevel

    X axis level index for current cell

    Declaration
    public int XLevel { get; }
    Property Value
    Type Description
    System.Int32

    YLevel

    Y axis level index for current cell

    Declaration
    public int YLevel { get; }
    Property Value
    Type Description
    System.Int32

    Methods

    GetDetailValue(Int32, String)

    Detail value

    Declaration
    public Variant GetDetailValue(int detailRecordIndex, string fieldName)
    Parameters
    Type Name Description
    System.Int32 detailRecordIndex

    detail record index

    System.String fieldName

    name of field in record

    Returns
    Type Description
    Variant

    value or null if detailRecordIndex is out of bounds or field is not found

    GetItemByCaption(String)

    Search Measure by caption

    Declaration
    public Measure GetItemByCaption(string caption)
    Parameters
    Type Name Description
    System.String caption

    caption to search

    Returns
    Type Description
    Measure

    first Measure with required caption or null if not found

    GetItemByName(String)

    Search Measure by name

    Declaration
    public Measure GetItemByName(string name)
    Parameters
    Type Name Description
    System.String name

    name to search

    Returns
    Type Description
    Measure

    Measure of null if name not found

    Back to top © 1998-2024 Copyright Fast Reports Inc.