SetSymbol
Set data plot symbol based by index of one in the symbol gallery.
BOOL SetSymbol( int nIndex, BOOL bUndo = FALSE )
TRUE for success, otherwise FALSE.
void DataPlot_SetGetSymbol_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 ) { if ( dp.SetSymbol(11) ) //set symbol as solid circle { printf("SetSymbol change DataPlot symbol to " + dp.GetSymbol()); } } } }
DataPlot::GetSymbol
origin.h