Group: Forum Members
Last Active: Last Week
Posts: 3,054,
Visits: 4,009
|
Hi Volvick, you can check if a shape is in the currently shown area of the view by simply testing if the shape's bounds are within the bounds of the drawing view's viewport. For example: if (view.Viewport.Bounds.Contains(shape.Bounds)) { // The shape is in the currently displayed area of the view }
Best Regards, Nevron Support Team
|
Group: Forum Members
Last Active: 12 Years Ago
Posts: 71,
Visits: 1
|
Assume that some shapes are in the drawing are and none of them is selected. Is there a way to determine if a shape is in the drawing area. By knowing the name of the shape, I couldn't find a way to determine if a shape is already in the drawingview.
|