Nevron Open Vision Documentation
Page Selection

NOV Diagram for .NET lets you easily select one, more or all diagram items in a drawing page. To select/deselect shapes use the page's Selection property.

Selecting Shapes

The page's Selection object provides the following methods for selecting shapes and other diagram items.

The following code shows how to select all 2D shapes in a page:

Select all 2D shapes
Copy Code
NPage page = drawingView.ActivePage;
page.Selection.SelectAll(ENSelectAllFilter.Shapes2D);
Deselecting Shapes

To deselect shapes, use the following method of the shape:

Other Selection Properties and Methods

The page selection provides the following properties:

The page selection also provides the following methods:

 

Send Feedback