Set inserted image as background.
BOOL SetAsLayerBackground( LPCSTR lpcszGrRange, DWORD dwCntrl )
true if success, else false.
EX1
//assum graph1 has image object "CVIMG" void SetAsBackground_ex() { GraphLayer gl("Graph1"); if(!gl) return; GraphObject go = gl.GraphObjects("CVIMG"); if(!go) return; string strRange; go.GetRangeString(strRange); out_str(strRange); BOOL bRet = SetAsLayerBackground(strRange, 0); }
origin.h