nStyle | [optional] (Long) Further specification of the cross.
0 (default) - Data point is searched whose time is less or equal the time of the cursor vertical line
1 - Data point is searched whose time is greater or equal the time of the cursor vertical line
2 - Data point is searched that is closest to the time of the cursor vertical line |
---|
var oTView = pMe.Items("../TrendView");
var oTrend = oTView.Trends(0);
if (oTrend)
{
var nCursorValue = oTrend.CursorValue(2);
}