GetSymbol
Get index of the plot symbol in the symbol gallery.
int GetSymbol( )
An Integer value which is the index of current symbol for this DataPlot.
void DataPlot_GetGetSymbol_Ex1() { //make sure there exists a graph with dataplots on it before running this code. GraphLayer gl = Project.ActiveLayer(); if ( gl ) { DataPlot dp = gl.DataPlots(0); //get the first dataplot on graphlayer if ( dp ) { int nSymbol = dp.GetSymbol(); //get index value of Integer, which stands for the Symbol property of the DataPlot if ( nSymbol < 0 ) printf("DataPlot is not a valid object"); else printf("DataPlot has Symbol value of %d\n", nSymbol); } } }
Use this method the get current symbol of one dataplot.
DataPlot::SetSymbol
origin.h