Get function plot context.
BOOL GetFunctionContext( FunctionPlotContext & context )
TRUE if successfully
EX1
//assume there is a funtion plot void DataPlot_GetFunctionContext_Ex1() { GraphLayer gl = Project.ActiveLayer(); if( gl ) { DataPlot dp= gl.DataPlots(); FunctionPlotContext context; BOOL bSuccess = dp.GetFunctionContext(context); printf("GetFunctionContext return: %d\n", bSuccess); if(bSuccess) printf("Formula1 = %s\n", context.strFormula1); } }
DataPlot::SetFunctionContext
origin.h