I need to parse through anchored frames and return the paragraph tag that it is located it. I can't seem to find a property that returns the paragraph tag. Anyone have any ideas?
The AFrame object has a TextLoc property which leads to the paragraph in which the anchor is located. Does that answer your question?
Try this on the selected anchored frame:
var doc = app.ActiveDoc;
var aFrame = doc.FirstSelectedGraphicInDoc;
var pgf = aFrame.TextLoc.obj;
Please mark my answer as Correct. Thanks.
Retrieving data ...