-
Mar 21st, 2021, 11:14 AM
#1
Thread Starter
New Member
How to tell whether Range is inside a Frame
Hi all,
I'm stepping through my document paragraph by paragraph, performing certain actions depending on its contents, position, etc. I need to know whether the paragraph in question is with a frame (not a textbox, but a frame that is created using Insert Frame). So far, have come up short. Best I can cypher right now is to expand the Range by a couple lines in each direction, and then to see if the new range contains a frame using opara.Range.frames.Count.
Does anyone else have suggestions on how to tell if a range is within a frame?
Thx in advance
-
Mar 21st, 2021, 11:38 AM
#2
Thread Starter
New Member
Re: How to tell whether Range is inside a Frame
Please disregard, think I answered it myself! Upon further investigation, looks like oPara.Range.Frames.Count returns "1" if range is within a frame.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|