Parameters
- element
- The selected element to unselect. Cannot be null.
Exception | Description |
---|---|
System.ArgumentNullException | Value cannot be null: element |
System.ArgumentException | elements must belong to layout 'URI'. |
//Unselect one element. var elementToUnSelect = layout.FindElements(new List<string>() { "MyPoint" }).FirstOrDefault(); layout.UnSelectElement(elementToUnSelect); //Unselect multiple elements. var elementsToUnSelect = layout.FindElements(new List<string>() { "Point 1", "Line 3", "Text 1" }); layout.UnSelectElements(elementsToUnSelect);
Target Platforms: Windows 11, Windows 10