Note: You must be registered in order to post a reply. To register, click here. Registration is FREE!
T O P I C R E V I E W
Karsten8
Posted - 02/17/2022 : 10:34:45 AM Origin Ver. and Service Release: 2019 9.6.172 Operating System:win10
Hello,
it would be great if you can help me to understand the c-functions. Using the setlinetype does not work whereas setcolor works fine in my Code. The error message is:
:Error, Member function DataPlot::SetLineType not defined or does not have matching prototype.
for (int i = 0; i < input.GetSize(); i++){ DataPlot dps = gls.DataPlots(input[i]); dps.SetLineType(3); // <- causes the error dps.SetLineType(LINE_STYLE_DASH); // <- causes error as well dps.SetColor(1, TRUE); // <- this works } } return; }
In other words the compiler gives an error messeage when I use the setlinetype but I think I use it as proposed (see web page at the top). I didn't found other examples using setlinetype and the search function couldn't help as well.
Thanks for your help. Best regards
Karsten8.
2 L A T E S T R E P L I E S (Newest First)
Karsten8
Posted - 02/18/2022 : 02:03:37 AM Hi CP,
thanks for your answer.
Regards, Karsten8.
*closed Topic.
cpyang
Posted - 02/17/2022 : 3:26:51 PM Looks like that was not available in your version. I checked that it works in current version 2022.