[id] = CopyTextObject(source, dest)
source
and creates
a copy of it as text object dest
. If you specify Nil in the dest
argument, this function will choose an identifier for the cloned
text object automatically and return it to you. The new text object is
independent from the old text object so you could free up the source
text object after it has been cloned.
CopyTextObject(1, 10) FreeTextObject(1)The above code creates a new text object 10 which contains the same graphics data as text object 1. Then it frees text object 1 because it is no longer needed.