@saitoib wrote:
.... is it possible to determine if the target object is outside the display range? ....
In many cases, yes. You could determine the corners of the display range as in your other topic, and get the bounding box of the target object. If any of the coordinates of that bounding box are smaller than those of the lower left corner of the viewing area, or greater than those of the upper right corner, then the object extends past the viewing area in some direction. If all of the bounding box's X coordinates are smaller than the viewing area's left side, or greater than its right side, or similarly with Y coordinates all below the bottom or above the top, then the object lies entirely outside the display range.
BUT that approach can be thrown off by some objects. Splines often have a bounding box that is larger than their visible extent, and Mtext's bounding box is as wide as its defining box width even if its text content doesn't fill that width, and a Block at a rotation other than zero has a bounding box as if the bounding box of its zero-rotation content was a drawn rectangle, rotated along with it. And a diagonal Line, or an Arc, or a Polyline of certain configuration, etc., could be fully outside the display range but its bounding box could reach inside it. So it depends on the nature of the objects that would be involved.
Kent Cooper, AIA