how to add element and text?
Hello, I struggle with this issue for long but still I can not have answer.
so I wish I can get some hints form here.
I understand this to put element in document.
var doc = app.ActiveDoc;
var elementDef = doc.GetNamedElementDef ("p");
var element = elementDef.NewElement (doc.TextSelection.beg);
but how can I put element in parent element?
for exaplme, putting "p" in "body"
and after I put p, how can I add text?
I really wish to get some hints.
thank you.
