Table of Contents

Class Measure

Namespace: FastReport.Olap.Code
Assembly: FastCube.Core.dll

Represents single Measure

public class Measure : ContainerFieldItem

Inheritance

objectScriptItemContainerFieldItemMeasure

Inherited Members

ContainerFieldItem.field, ContainerFieldItem.Caption, ContainerFieldItem.CurrentCaption, ContainerFieldItem.CurrentValue, ContainerFieldItem.IndexInRegion, ContainerFieldItem.Name, ContainerFieldItem.Region, ScriptItem.owner, ScriptItem.Name

Constructors

Measure(ScriptItems, ContainerField)

Creates a new instance with owner.

public Measure(ScriptItems owner, ContainerField field)

Parameters

owner ScriptItems

field ContainerField

Properties

CurrentCaption

String representation of the field value at current position

public override string CurrentCaption { get; }

Property Value

string

CurrentValue

Field value at current position.

public override object CurrentValue { get; }

Property Value

object

Field

Gets the reference to the field.

public MeasureField Field { get; }

Property Value

MeasureField

Methods

GetColOffsetTotalValueForDims(int, string)

Gets column offset total value for dimension.

public object GetColOffsetTotalValueForDims(int offset, string dimNames)

Parameters

offset int

dimNames string

Returns

object

GetColOffsetValue(int)

Get Data matrix Value with column offset from the current position.

public object GetColOffsetValue(int offset)

Parameters

offset int

offset in columns

Returns

object

Cell value

GetColOffsetValue(object)

Get Data matrix Value with column offset from the current position.

public object GetColOffsetValue(object dimValue)

Parameters

dimValue object

Returns

object

GetColRowOffsetValue(int, int)

Get Data matrix Value with row offset from the current position.

public object GetColRowOffsetValue(int colOffset, int rowOffset)

Parameters

colOffset int

offset in columns

rowOffset int

offset in rows

Returns

object

GetColRowOffsetWithLevelValue(int, int, int, int)

Get Data matrix Value with row offset.

public object GetColRowOffsetWithLevelValue(int colOffset, int rowOffset, int colLevelOffset, int rowLevelOffset)

Parameters

colOffset int

rowOffset int

colLevelOffset int

rowLevelOffset int

Returns

object

GetRowOffsetTotalValueForDims(int, string)

Get Data matrix Value with row offset.

public object GetRowOffsetTotalValueForDims(int offset, string dimNames)

Parameters

offset int

dimNames string

Returns

object

GetRowOffsetValue(int)

Get Data matrix Value with row offset from the current position

public object GetRowOffsetValue(int offset)

Parameters

offset int

offset in rows

Returns

object

Cell value

GetRowOffsetValue(object)

Get Data matrix Value with row offset.

public object GetRowOffsetValue(object dimValue)

Parameters

dimValue object

Returns

object

GetTotalValueForDims(string)

Gets total value for dims.

public object GetTotalValueForDims(string dimNames)

Parameters

dimNames string

Returns

object