【お知らせ】この部分は英語原文のみでの提供となります。何卒ご了承ください。
2.2.4.8.8 DataPlot::GetDataMarkers
Contents
Description
Get begin and end indices of data markers present on the data plot.
Syntax
int GetDataMarkers( vector<int> & vBegin, vector<int> & vEnd, vector<uint>& vIDs = NULL )
Parameters
- vBegin
- [output] will receive indices of data markers begin marker.
- vEnd
- [output] will receive indices of data markers end marker.
- vIDs
- [output] will receive IDs of data markers, can be NULL, default is NULL
Return
return the valid count of markers.
Examples
EX1
//Get the first dataplot's datamarkers in the active graph. void DataPlot_TestDataMarkers() { GraphLayer gl = Project.ActiveLayer(); if( gl ) { DataPlot dp = gl.DataPlots(); if( dp ) { vector<int> vBegin; vector<int> vEnd; vector<uint> vIDs; dp.GetDataMarkers(vBegin, vEnd, vIDs); } } }
Remark
See Also
Header to Include
origin.h