Class Measure
Namespace: FastReport.Olap.Code
Assembly: FastCube.Core.dll
Represents single Measure
public class Measure : ContainerFieldItem
Inheritance
object ← ScriptItem ← ContainerFieldItem ← Measure
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
CurrentValue
Field value at current position.
public override object CurrentValue { get; }
Property Value
Field
Gets the reference to the field.
public MeasureField Field { get; }
Property Value
Methods
GetColOffsetTotalValueForDims(int, string)
Gets column offset total value for dimension.
public object GetColOffsetTotalValueForDims(int offset, string dimNames)
Parameters
offset
int
dimNames
string
Returns
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
Cell value
GetColOffsetValue(object)
Get Data matrix Value with column offset from the current position.
public object GetColOffsetValue(object dimValue)
Parameters
dimValue
object
Returns
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
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
GetRowOffsetTotalValueForDims(int, string)
Get Data matrix Value with row offset.
public object GetRowOffsetTotalValueForDims(int offset, string dimNames)
Parameters
offset
int
dimNames
string
Returns
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
Cell value
GetRowOffsetValue(object)
Get Data matrix Value with row offset.
public object GetRowOffsetValue(object dimValue)
Parameters
dimValue
object
Returns
GetTotalValueForDims(string)
Gets total value for dims.
public object GetTotalValueForDims(string dimNames)
Parameters
dimNames
string