quote:
Originally posted by hofmaale
Dear all,
is there a possibility to get the processed and displayed legend text?
So far I know to different options:
a) iterate through all DataPlots and execute the GetLegend() command. This will print a list of possible, standard legend texts, but for all plots - not only those actually appearing in the legend
b) search for the Legend object by iterating over all GraphObjects in the active layer. In this case, one can get the unsubstituted legend text
What I'm searching for is some fictonal option c) to read the displayed legend text, i.e. the actual contents of the legend-object but after legend-text substitution is done.
Is there a way to accomplish this?
Thank you very much in advance,
Alex
Origin Ver. and Service Release (Select Help-->About Origin): 2017G SR1
Operating System: Win 7 x64
OC_API int okutil_arg_copy(string* pstr, LPCSTR lpcszPageLayerContext=NULL, USHORT cntrl=0);
#####
#### _\_ ________
##=-[.].]| \
#( _\ | |------|
# __| | ||||||||
\ _/ | ||||||||
.--'--'-. | | ____ |
/ __ `|__|[o__o]|
_(____nm_______ /____\____